35 references to UInt64BitsToDouble
System.Private.CoreLib (31)
src\libraries\System.Private.CoreLib\src\System\Double.cs (14)
546
static double IBinaryNumber<double>.AllBitsSet => BitConverter.
UInt64BitsToDouble
(0xFFFF_FFFF_FFFF_FFFF);
589
return BitConverter.
UInt64BitsToDouble
(bits);
596
return BitConverter.
UInt64BitsToDouble
(bits);
603
return BitConverter.
UInt64BitsToDouble
(bits);
610
return BitConverter.
UInt64BitsToDouble
(bits);
1557
ax = BitConverter.
UInt64BitsToDouble
(xBits);
1567
ay = BitConverter.
UInt64BitsToDouble
(yBits);
1574
ax = BitConverter.
UInt64BitsToDouble
(xBits);
1575
ay = BitConverter.
UInt64BitsToDouble
(yBits);
1595
double xHead = BitConverter.
UInt64BitsToDouble
(xBits & 0xFFFF_FFFF_F800_0000);
1596
double yHead = BitConverter.
UInt64BitsToDouble
(yBits & 0xFFFF_FFFF_F800_0000);
2323
static double IBinaryFloatParseAndFormatInfo<double>.BitsToFloat(ulong bits) => BitConverter.
UInt64BitsToDouble
(bits);
2508
double z1 = BitConverter.
UInt64BitsToDouble
(bits);
2516
double reciprocalHead = BitConverter.
UInt64BitsToDouble
(bits);
src\libraries\System.Private.CoreLib\src\System\Globalization\CharUnicodeInfo.cs (1)
248
return BitConverter.
UInt64BitsToDouble
(temp);
src\libraries\System.Private.CoreLib\src\System\Half.cs (3)
1012
return BitConverter.
UInt64BitsToDouble
(sign ? double.SignMask : 0); // Positive / Negative zero
1177
return BitConverter.
UInt64BitsToDouble
(signInt | NaNBits | sigInt);
1182
private 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)
134
return BitConverter.
UInt64BitsToDouble
(raw & mask);
316
return BitConverter.
UInt64BitsToDouble
(bits);
348
return BitConverter.
UInt64BitsToDouble
(bits);
372
return BitConverter.
UInt64BitsToDouble
((xbits & ~double.SignMask) | (ybits & double.SignMask));
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (5)
881
get => (NFloat)BitConverter.
UInt64BitsToDouble
(0xFFFF_FFFF_FFFF_FFFF);
907
NativeType result = BitConverter.
UInt64BitsToDouble
(bits);
921
NativeType result = BitConverter.
UInt64BitsToDouble
(bits);
935
NativeType result = BitConverter.
UInt64BitsToDouble
(bits);
949
NativeType result = BitConverter.
UInt64BitsToDouble
(bits);
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (4)
267
double lower = BitConverter.
UInt64BitsToDouble
(TwoPow52Bits | ((value._lower << 12) >> 12)) - TwoPow52;
268
double upper = BitConverter.
UInt64BitsToDouble
(TwoPow104Bits | (ulong)(value >> 52)) - TwoPow104;
278
double lower = BitConverter.
UInt64BitsToDouble
(TwoPow76Bits | ((ulong)(value >> 12) >> 12) | (value._lower & 0xFFFFFF)) - TwoPow76;
279
double upper = BitConverter.
UInt64BitsToDouble
(TwoPow128Bits | (ulong)(value >> 76)) - TwoPow128;
System.Private.Xml (3)
System\Xml\Xsl\XPathConvert.cs (3)
663
return BitConverter.
UInt64BitsToDouble
((ulong)dblHi << 32 | dblLo);
1116
dblT = BitConverter.
UInt64BitsToDouble
((ulong)dblHi << 32 | DblLo(dblT));
1127
dblT = BitConverter.
UInt64BitsToDouble
((ulong)dblHi << 32 | dblLo);
System.Runtime.Numerics (1)
System\Numerics\NumericsHelpers.cs (1)
95
return BitConverter.
UInt64BitsToDouble
(bits);