40 references to UInt64BitsToDouble
Microsoft.Diagnostics.DataContractReader.Contracts (1)
PrintfStressMessageFormatter.cs (1)
167double value = BitConverter.UInt64BitsToDouble(valueAsBits.Value);
System.Private.CoreLib (35)
src\runtime\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); 542static double IBinaryNumber<double>.AllBitsSet => BitConverter.UInt64BitsToDouble(0xFFFF_FFFF_FFFF_FFFF); 585return BitConverter.UInt64BitsToDouble(bits); 592return BitConverter.UInt64BitsToDouble(bits); 599return BitConverter.UInt64BitsToDouble(bits); 606return BitConverter.UInt64BitsToDouble(bits); 1601ax = BitConverter.UInt64BitsToDouble(xBits); 1611ay = BitConverter.UInt64BitsToDouble(yBits); 1618ax = BitConverter.UInt64BitsToDouble(xBits); 1619ay = BitConverter.UInt64BitsToDouble(yBits); 1639double xHead = BitConverter.UInt64BitsToDouble(xBits & 0xFFFF_FFFF_F800_0000); 1640double yHead = BitConverter.UInt64BitsToDouble(yBits & 0xFFFF_FFFF_F800_0000); 2367static double IBinaryFloatParseAndFormatInfo<double>.BitsToFloat(ulong bits) => BitConverter.UInt64BitsToDouble(bits); 2552double z1 = BitConverter.UInt64BitsToDouble(bits); 2560double reciprocalHead = BitConverter.UInt64BitsToDouble(bits);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CharUnicodeInfo.cs (1)
275return BitConverter.UInt64BitsToDouble(temp);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (2)
1027return BitConverter.UInt64BitsToDouble(sign ? double.SignMask : 0); // Positive / Negative zero 1193return BitConverter.UInt64BitsToDouble(signInt | NaNBits | sigInt);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Math.cs (4)
131return BitConverter.UInt64BitsToDouble(raw & mask); 327return BitConverter.UInt64BitsToDouble(bits); 359return BitConverter.UInt64BitsToDouble(bits); 383return BitConverter.UInt64BitsToDouble((xbits & ~double.SignMask) | (ybits & double.SignMask));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.DiyFp128Cbrt.cs (1)
49double f = BitConverter.UInt64BitsToDouble((((ulong)(double.ExponentBias - 1)) << double.BiasedExponentShift) + (msd >> (64 - double.SignificandLength)));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.DiyFp128Sqrt.cs (1)
317double f = BitConverter.UInt64BitsToDouble((msd >> (64 - double.SignificandLength)) + ((ulong)(double.ExponentBias - 2) << double.BiasedExponentShift));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (2)
478ulong exponentOffset0 = BitConverter.DoubleToUInt64Bits(double.Max(value, BitConverter.UInt64BitsToDouble(MinExp))); 484value += BitConverter.UInt64BitsToDouble(exponentOffset0);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (5)
880get => (NFloat)BitConverter.UInt64BitsToDouble(0xFFFF_FFFF_FFFF_FFFF); 906NativeType result = BitConverter.UInt64BitsToDouble(bits); 920NativeType result = BitConverter.UInt64BitsToDouble(bits); 934NativeType result = BitConverter.UInt64BitsToDouble(bits); 948NativeType result = BitConverter.UInt64BitsToDouble(bits);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (4)
261double lower = BitConverter.UInt64BitsToDouble(TwoPow52Bits | ((value._lower << 12) >> 12)) - TwoPow52; 262double upper = BitConverter.UInt64BitsToDouble(TwoPow104Bits | (ulong)(value >> 52)) - TwoPow104; 272double lower = BitConverter.UInt64BitsToDouble(TwoPow76Bits | ((ulong)(value >> 12) >> 12) | (value._lower & 0xFFFFFF)) - TwoPow76; 273double upper = BitConverter.UInt64BitsToDouble(TwoPow128Bits | (value._upper >> 12)) - 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\BigInteger.cs (1)
2179return BitConverter.UInt64BitsToDouble(result);