31 references to UInt64BitsToDouble
System.Private.CoreLib (27)
src\libraries\System.Private.CoreLib\src\System\Double.cs (14)
546static double IBinaryNumber<double>.AllBitsSet => BitConverter.UInt64BitsToDouble(0xFFFF_FFFF_FFFF_FFFF); 589return BitConverter.UInt64BitsToDouble(bits); 596return BitConverter.UInt64BitsToDouble(bits); 603return BitConverter.UInt64BitsToDouble(bits); 610return BitConverter.UInt64BitsToDouble(bits); 1548ax = BitConverter.UInt64BitsToDouble(xBits); 1558ay = BitConverter.UInt64BitsToDouble(yBits); 1565ax = BitConverter.UInt64BitsToDouble(xBits); 1566ay = BitConverter.UInt64BitsToDouble(yBits); 1586double xHead = BitConverter.UInt64BitsToDouble(xBits & 0xFFFF_FFFF_F800_0000); 1587double yHead = BitConverter.UInt64BitsToDouble(yBits & 0xFFFF_FFFF_F800_0000); 2314static double IBinaryFloatParseAndFormatInfo<double>.BitsToFloat(ulong bits) => BitConverter.UInt64BitsToDouble(bits); 2499double z1 = BitConverter.UInt64BitsToDouble(bits); 2507double reciprocalHead = BitConverter.UInt64BitsToDouble(bits);
src\libraries\System.Private.CoreLib\src\System\Globalization\CharUnicodeInfo.cs (1)
248return BitConverter.UInt64BitsToDouble(temp);
src\libraries\System.Private.CoreLib\src\System\Half.cs (3)
1012return BitConverter.UInt64BitsToDouble(sign ? double.SignMask : 0); // Positive / Negative zero 1177return BitConverter.UInt64BitsToDouble(signInt | NaNBits | sigInt); 1182private static double CreateDouble(bool sign, ushort exp, ulong sig) => BitConverter.UInt64BitsToDouble(((sign ? 1UL : 0UL) << double.SignShift) + ((ulong)exp << double.BiasedExponentShift) + sig);
src\libraries\System.Private.CoreLib\src\System\Math.cs (4)
134return BitConverter.UInt64BitsToDouble(raw & mask); 326return BitConverter.UInt64BitsToDouble(bits); 358return BitConverter.UInt64BitsToDouble(bits); 382return BitConverter.UInt64BitsToDouble((xbits & ~double.SignMask) | (ybits & double.SignMask));
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (5)
881get => (NFloat)BitConverter.UInt64BitsToDouble(0xFFFF_FFFF_FFFF_FFFF); 907NativeType result = BitConverter.UInt64BitsToDouble(bits); 921NativeType result = BitConverter.UInt64BitsToDouble(bits); 935NativeType result = BitConverter.UInt64BitsToDouble(bits); 949NativeType result = BitConverter.UInt64BitsToDouble(bits);
System.Private.Xml (3)
System\Xml\Xsl\XPathConvert.cs (3)
663return BitConverter.UInt64BitsToDouble((ulong)dblHi << 32 | dblLo); 1116dblT = BitConverter.UInt64BitsToDouble((ulong)dblHi << 32 | DblLo(dblT)); 1127dblT = BitConverter.UInt64BitsToDouble((ulong)dblHi << 32 | dblLo);
System.Runtime.Numerics (1)
System\Numerics\NumericsHelpers.cs (1)
95return BitConverter.UInt64BitsToDouble(bits);