37 references to UInt64BitsToDouble
System.Private.CoreLib (33)
src\libraries\System.Private.CoreLib\src\System\Double.cs (15)
165internal static double CreateDouble(bool sign, ushort exp, ulong sig) => BitConverter.UInt64BitsToDouble((sign ? SignMask : 0UL) + ((ulong)exp << BiasedExponentShift) + sig); 548static double IBinaryNumber<double>.AllBitsSet => BitConverter.UInt64BitsToDouble(0xFFFF_FFFF_FFFF_FFFF); 591return BitConverter.UInt64BitsToDouble(bits); 598return BitConverter.UInt64BitsToDouble(bits); 605return BitConverter.UInt64BitsToDouble(bits); 612return BitConverter.UInt64BitsToDouble(bits); 1554ax = BitConverter.UInt64BitsToDouble(xBits); 1564ay = BitConverter.UInt64BitsToDouble(yBits); 1571ax = BitConverter.UInt64BitsToDouble(xBits); 1572ay = BitConverter.UInt64BitsToDouble(yBits); 1592double xHead = BitConverter.UInt64BitsToDouble(xBits & 0xFFFF_FFFF_F800_0000); 1593double yHead = BitConverter.UInt64BitsToDouble(yBits & 0xFFFF_FFFF_F800_0000); 2320static double IBinaryFloatParseAndFormatInfo<double>.BitsToFloat(ulong bits) => BitConverter.UInt64BitsToDouble(bits); 2505double z1 = BitConverter.UInt64BitsToDouble(bits); 2513double 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 (2)
1012return BitConverter.UInt64BitsToDouble(sign ? double.SignMask : 0); // Positive / Negative zero 1177return BitConverter.UInt64BitsToDouble(signInt | NaNBits | sigInt);
src\libraries\System.Private.CoreLib\src\System\Math.cs (4)
134return BitConverter.UInt64BitsToDouble(raw & mask); 316return BitConverter.UInt64BitsToDouble(bits); 348return BitConverter.UInt64BitsToDouble(bits); 372return BitConverter.UInt64BitsToDouble((xbits & ~double.SignMask) | (ybits & double.SignMask));
src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (2)
484ulong exponentOffset0 = BitConverter.DoubleToUInt64Bits(double.Max(value, BitConverter.UInt64BitsToDouble(MinExp))); 490value += BitConverter.UInt64BitsToDouble(exponentOffset0);
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);
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (4)
267double lower = BitConverter.UInt64BitsToDouble(TwoPow52Bits | ((value._lower << 12) >> 12)) - TwoPow52; 268double upper = BitConverter.UInt64BitsToDouble(TwoPow104Bits | (ulong)(value >> 52)) - TwoPow104; 278double lower = BitConverter.UInt64BitsToDouble(TwoPow76Bits | ((ulong)(value >> 12) >> 12) | (value._lower & 0xFFFFFF)) - TwoPow76; 279double upper = BitConverter.UInt64BitsToDouble(TwoPow128Bits | (ulong)(value >> 76)) - TwoPow128;
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)
96return BitConverter.UInt64BitsToDouble(bits);