51 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 (43)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (23)
125ulong bits = BitConverter.DoubleToUInt64Bits(m_value); 150ulong bits = BitConverter.DoubleToUInt64Bits(m_value); 173ulong bits = BitConverter.DoubleToUInt64Bits(d); 182ulong bits = BitConverter.DoubleToUInt64Bits(Abs(d)); 203ulong bits = BitConverter.DoubleToUInt64Bits(d); 229ulong bits = BitConverter.DoubleToUInt64Bits(Abs(d)); 247ulong bits = BitConverter.DoubleToUInt64Bits(Abs(d)); 346ulong bits = BitConverter.DoubleToUInt64Bits(m_value); 547ulong bits = BitConverter.DoubleToUInt64Bits(value); 584ulong bits = BitConverter.DoubleToUInt64Bits(left) & BitConverter.DoubleToUInt64Bits(right); 591ulong bits = BitConverter.DoubleToUInt64Bits(left) | BitConverter.DoubleToUInt64Bits(right); 598ulong bits = BitConverter.DoubleToUInt64Bits(left) ^ BitConverter.DoubleToUInt64Bits(right); 605ulong bits = ~BitConverter.DoubleToUInt64Bits(value); 1566ulong xBits = BitConverter.DoubleToUInt64Bits(ax); 1567ulong yBits = BitConverter.DoubleToUInt64Bits(ay); 1604xBits = BitConverter.DoubleToUInt64Bits(ax); 1614yBits = BitConverter.DoubleToUInt64Bits(ay); 2369static ulong IBinaryFloatParseAndFormatInfo<double>.FloatToBits(double value) => BitConverter.DoubleToUInt64Bits(value); 2549ulong bits = BitConverter.DoubleToUInt64Bits(result); 2557bits = BitConverter.DoubleToUInt64Bits(reciprocal);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
589ulong 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\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);