35 references to UInt64BitsToDouble
System.Private.CoreLib (31)
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); 1557ax = BitConverter.UInt64BitsToDouble(xBits); 1567ay = BitConverter.UInt64BitsToDouble(yBits); 1574ax = BitConverter.UInt64BitsToDouble(xBits); 1575ay = BitConverter.UInt64BitsToDouble(yBits); 1595double xHead = BitConverter.UInt64BitsToDouble(xBits & 0xFFFF_FFFF_F800_0000); 1596double yHead = BitConverter.UInt64BitsToDouble(yBits & 0xFFFF_FFFF_F800_0000); 2323static double IBinaryFloatParseAndFormatInfo<double>.BitsToFloat(ulong bits) => BitConverter.UInt64BitsToDouble(bits); 2508double z1 = BitConverter.UInt64BitsToDouble(bits); 2516double 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); 316return BitConverter.UInt64BitsToDouble(bits); 348return BitConverter.UInt64BitsToDouble(bits); 372return 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);
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)
95return BitConverter.UInt64BitsToDouble(bits);