23 references to Int64BitsToDouble
Microsoft.CodeAnalysis (2)
ConstantValueSpecialized.cs (1)
26private static readonly double _s_IEEE_canonical_NaN = BitConverter.Int64BitsToDouble(unchecked((long)0xFFF8000000000000UL));
RealParser.cs (1)
38d = BitConverter.Int64BitsToDouble((long)result);
Microsoft.CodeAnalysis.CSharp (1)
Utilities\ValueSetFactory.DoubleTC.cs (1)
61return BitConverter.Int64BitsToDouble((long)l);
Microsoft.CodeAnalysis.UnitTests (2)
RealParserTests.cs (2)
382double d = BitConverter.Int64BitsToDouble((long)bits); 401CheckOneDouble(s, BitConverter.Int64BitsToDouble((long)expectedBits));
System.Data.Odbc (1)
Common\System\Data\ProviderBase\DbBuffer.cs (1)
206return BitConverter.Int64BitsToDouble(value);
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\ExponentialHistogramAggregator.cs (1)
209return BitConverter.Int64BitsToDouble(bits);
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (1)
760public static double ToDouble(byte[] value, int startIndex) => Int64BitsToDouble(ToInt64(value, startIndex));
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReadBigEndian.cs (2)
24BitConverter.Int64BitsToDouble(ReverseEndianness(MemoryMarshal.Read<long>(source))) : 252value = BitConverter.Int64BitsToDouble(ReverseEndianness(tmp));
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReadLittleEndian.cs (2)
24BitConverter.Int64BitsToDouble(ReverseEndianness(MemoryMarshal.Read<long>(source))) : 252value = BitConverter.Int64BitsToDouble(ReverseEndianness(tmp));
src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryAccessor.cs (1)
260public double ReadDouble(long position) => BitConverter.Int64BitsToDouble(ReadInt64(position));
src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
1550double u = BitConverter.Int64BitsToDouble(((long)(0x3ff + n) << 52));
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (3)
27return (T)(object)BitConverter.Int64BitsToDouble(-1); 1290double result = BitConverter.Int64BitsToDouble(bits << shiftCount); 1352double result = BitConverter.Int64BitsToDouble(bits >> shiftCount);
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
539CustomAttributeEncoding.Double => BitConverter.Int64BitsToDouble(val.Byte8),
System.Private.Xml (5)
System\Xml\Xsl\XPathConvert.cs (5)
59return BitConverter.Int64BitsToDouble(bits | 1); 76return BitConverter.Int64BitsToDouble(bits); 1106dblT = BitConverter.Int64BitsToDouble(0x4FF00000L << 32); 2789dbl = BitConverter.Int64BitsToDouble(BitConverter.DoubleToInt64Bits(dbl) - 1); 2814dbl = BitConverter.Int64BitsToDouble(BitConverter.DoubleToInt64Bits(dbl) + 1);