Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ DoubleToInt64Bits()

static unsafe long System.BitConverter.DoubleToInt64Bits ( double value)
inlinestatic

Definition at line 487 of file BitConverter.cs.

488 {
489 if (Sse2.X64.IsSupported)
490 {
492 return Sse2.X64.ConvertToInt64(value2);
493 }
494 return *(long*)(&value);
495 }
static unsafe Vector128< byte > CreateScalarUnsafe(byte value)
Definition Vector128.cs:829
static long ConvertToInt64(Vector128< double > value)
Definition Sse2.cs:14

References System.Runtime.Intrinsics.X86.Sse2.X64.ConvertToInt64(), System.Runtime.Intrinsics.Vector128< T >.CreateScalarUnsafe(), System.Runtime.Intrinsics.X86.Sse2.X64.IsSupported, and System.value.

Referenced by System.Variant.Variant(), System.Xml.Xsl.XPathConvert.FloatingDecimal.AdjustDbl(), System.Math.BitDecrement(), System.Math.BitIncrement(), System.Math.CopySign(), System.BitConverter.DoubleToUInt64Bits(), System.Reflection.Emit.ILGenerator.Emit(), System.Double.IsFinite(), System.Double.IsInfinity(), System.Double.IsNegative(), System.Xml.XmlConvert.IsNegativeZero(), System.Double.IsNormal(), System.Double.IsSubnormal(), System.Buffers.Binary.BinaryPrimitives.TryWriteDoubleBigEndian(), System.Diagnostics.Metrics.ExponentialHistogramAggregator.Update(), System.IO.UnmanagedMemoryAccessor.Write(), and System.Buffers.Binary.BinaryPrimitives.WriteDoubleBigEndian().