31 references to UInt64BitsToDouble
System.Private.CoreLib (27)
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);
1548
ax = BitConverter.
UInt64BitsToDouble
(xBits);
1558
ay = BitConverter.
UInt64BitsToDouble
(yBits);
1565
ax = BitConverter.
UInt64BitsToDouble
(xBits);
1566
ay = BitConverter.
UInt64BitsToDouble
(yBits);
1586
double xHead = BitConverter.
UInt64BitsToDouble
(xBits & 0xFFFF_FFFF_F800_0000);
1587
double yHead = BitConverter.
UInt64BitsToDouble
(yBits & 0xFFFF_FFFF_F800_0000);
2314
static double IBinaryFloatParseAndFormatInfo<double>.BitsToFloat(ulong bits) => BitConverter.
UInt64BitsToDouble
(bits);
2499
double z1 = BitConverter.
UInt64BitsToDouble
(bits);
2507
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);
326
return BitConverter.
UInt64BitsToDouble
(bits);
358
return BitConverter.
UInt64BitsToDouble
(bits);
382
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);
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);