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

◆ Int64BitsToDouble()

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

Definition at line 498 of file BitConverter.cs.

499 {
500 if (Sse2.X64.IsSupported)
501 {
503 return vector.ToScalar();
504 }
505 return *(double*)(&value);
506 }
static unsafe Vector128< byte > CreateScalarUnsafe(byte value)
Definition Vector128.cs:829

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

Referenced by System.Xml.Xsl.XPathConvert.FloatingDecimal.AdjustDbl(), System.Math.BitDecrement(), System.Math.BitIncrement(), System.Math.CopySign(), System.Xml.Xsl.XPathConvert.BigNumber.DblToRgbPrecise(), System.Diagnostics.Tracing.EventPipePayloadDecoder.DecodePayload(), System.Numerics.Vector< T >.GetAllBitsSetValue(), System.Diagnostics.Metrics.ExponentialHistogramAggregator.GetBucketCanonicalValue(), System.IO.BinaryReader.ReadDouble(), System.IO.UnmanagedMemoryAccessor.ReadDouble(), System.Buffers.Binary.BinaryPrimitives.ReadDoubleBigEndian(), System.Math.ScaleB(), System.BitConverter.ToDouble(), System.Variant.ToObject(), System.Buffers.Binary.BinaryPrimitives.TryReadDoubleBigEndian(), and System.BitConverter.UInt64BitsToDouble().