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