61 references to DoubleToUInt64Bits
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\TensorPrimitives.BitDecrement.cs (3)
79Vector128<ulong> specialValue = Vector128.Create(BitConverter.DoubleToUInt64Bits(-double.Epsilon)) & isPositiveZero; 130Vector256<ulong> specialValue = Vector256.Create(BitConverter.DoubleToUInt64Bits(-double.Epsilon)) & isPositiveZero; 181Vector512<ulong> specialValue = Vector512.Create(BitConverter.DoubleToUInt64Bits(-double.Epsilon)) & isPositiveZero;
System.Private.CoreLib (53)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (26)
127ulong bits = BitConverter.DoubleToUInt64Bits(m_value); 152ulong bits = BitConverter.DoubleToUInt64Bits(m_value); 175ulong bits = BitConverter.DoubleToUInt64Bits(d); 184ulong bits = BitConverter.DoubleToUInt64Bits(Abs(d)); 205ulong bits = BitConverter.DoubleToUInt64Bits(d); 231ulong bits = BitConverter.DoubleToUInt64Bits(Abs(d)); 249ulong bits = BitConverter.DoubleToUInt64Bits(Abs(d)); 348ulong bits = BitConverter.DoubleToUInt64Bits(m_value); 549ulong bits = BitConverter.DoubleToUInt64Bits(value); 586ulong bits = BitConverter.DoubleToUInt64Bits(left) & BitConverter.DoubleToUInt64Bits(right); 593ulong bits = BitConverter.DoubleToUInt64Bits(left) | BitConverter.DoubleToUInt64Bits(right); 600ulong bits = BitConverter.DoubleToUInt64Bits(left) ^ BitConverter.DoubleToUInt64Bits(right); 607ulong bits = ~BitConverter.DoubleToUInt64Bits(value); 1568ulong xBits = BitConverter.DoubleToUInt64Bits(ax); 1569ulong yBits = BitConverter.DoubleToUInt64Bits(ay); 1606xBits = BitConverter.DoubleToUInt64Bits(ax); 1616yBits = BitConverter.DoubleToUInt64Bits(ay); 2068double headHi = BitConverter.UInt64BitsToDouble(BitConverter.DoubleToUInt64Bits(head) & ConversionSplitMask); 2071double valueHi = BitConverter.UInt64BitsToDouble(BitConverter.DoubleToUInt64Bits(value) & ConversionSplitMask); 2111if ((lost != 0) && ((BitConverter.DoubleToUInt64Bits(correction) & 1) == 0)) 2591static ulong IBinaryFloatParseAndFormatInfo<double>.FloatToBits(double value) => BitConverter.DoubleToUInt64Bits(value); 2771ulong bits = BitConverter.DoubleToUInt64Bits(result); 2779bits = BitConverter.DoubleToUInt64Bits(reciprocal);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
597ulong doubleInt = BitConverter.DoubleToUInt64Bits(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
544ulong bits = BitConverter.DoubleToUInt64Bits(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Math.cs (5)
129ulong raw = BitConverter.DoubleToUInt64Bits(value); 300ulong bits = BitConverter.DoubleToUInt64Bits(x); 332ulong bits = BitConverter.DoubleToUInt64Bits(x); 378ulong xbits = BitConverter.DoubleToUInt64Bits(x); 379ulong ybits = BitConverter.DoubleToUInt64Bits(y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.DiyFp128Cbrt.cs (1)
67ulong yBits = BitConverter.DoubleToUInt64Bits(y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (3)
468ulong bitValue = BitConverter.DoubleToUInt64Bits(value); 478ulong exponentOffset0 = BitConverter.DoubleToUInt64Bits(double.Max(value, BitConverter.UInt64BitsToDouble(MinExp))); 485bitValue = BitConverter.DoubleToUInt64Bits(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (7)
905ulong bits = BitConverter.DoubleToUInt64Bits(left._value) & BitConverter.DoubleToUInt64Bits(right._value); 919ulong bits = BitConverter.DoubleToUInt64Bits(left._value) | BitConverter.DoubleToUInt64Bits(right._value); 933ulong bits = BitConverter.DoubleToUInt64Bits(left._value) ^ BitConverter.DoubleToUInt64Bits(right._value); 947ulong bits = ~BitConverter.DoubleToUInt64Bits(value._value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (1)
728ulong bits = BitConverter.DoubleToUInt64Bits((double)(object)value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\VectorMath.cs (7)
378double headHi = BitConverter.UInt64BitsToDouble(BitConverter.DoubleToUInt64Bits(head) & double.ConversionSplitMask); 408- TVectorUInt64.Create(BitConverter.DoubleToUInt64Bits(double.DegreesToRadiansMin)); 410TVectorUInt64 window = TVectorUInt64.Create(BitConverter.DoubleToUInt64Bits(double.DegreesToRadiansMax) 411- BitConverter.DoubleToUInt64Bits(double.DegreesToRadiansMin)); 1802- TVectorUInt64.Create(BitConverter.DoubleToUInt64Bits(double.RadiansToDegreesMin)); 1804TVectorUInt64 window = TVectorUInt64.Create(BitConverter.DoubleToUInt64Bits(double.RadiansToDegreesMax) 1805- BitConverter.DoubleToUInt64Bits(double.RadiansToDegreesMin));
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
558ulong bits = BitConverter.DoubleToUInt64Bits(value);
System.Private.DataContractSerialization (1)
System\Xml\XmlConverter.cs (1)
719return BitConverter.DoubleToUInt64Bits(value) == 0x8000_0000_0000_0000UL;
System.Private.Xml (2)
System\Xml\Xsl\XPathConvert.cs (2)
24return (uint)(BitConverter.DoubleToUInt64Bits(dbl) >> 32); 29return unchecked((uint)BitConverter.DoubleToUInt64Bits(dbl));
System.Reflection.Metadata (1)
System\Reflection\Internal\Utilities\BlobUtilities.cs (1)
20WriteUInt64(buffer, start, BitConverter.DoubleToUInt64Bits(value));
System.Runtime.Numerics (1)
System\Numerics\NumericsHelpers.cs (1)
12ulong bits = BitConverter.DoubleToUInt64Bits(dbl);