27 references to Int64BitsToDouble
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.Metrics.Writes.cs (1)
630values[i] = BitConverter.Int64BitsToDouble(BinaryPrimitives.ReadInt64LittleEndian(bytes[(i * sizeof(double))..]));
ILAssembler (3)
GrammarVisitor.cs (3)
3031builder.WriteDouble(BitConverter.Int64BitsToDouble(value)); 3118return new(BitConverter.Int64BitsToDouble(value)); 3428value = BitConverter.Int64BitsToDouble(intValue);
Microsoft.CodeAnalysis (2)
ConstantValueSpecialized.cs (1)
26private static readonly double _s_IEEE_canonical_NaN = BitConverter.Int64BitsToDouble(unchecked((long)0xFFF8000000000000UL));
RealParser.cs (1)
38d = BitConverter.Int64BitsToDouble((long)result);
Microsoft.CodeAnalysis.CSharp (1)
Utilities\ValueSetFactory.DoubleTC.cs (1)
61return BitConverter.Int64BitsToDouble((long)l);
System.Data.Odbc (1)
Common\System\Data\ProviderBase\DbBuffer.cs (1)
206return BitConverter.Int64BitsToDouble(value);
System.Data.OleDb (1)
System\Data\ProviderBase\DbBuffer.cs (1)
179return BitConverter.Int64BitsToDouble(value);
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Metrics\Base2ExponentialHistogramAggregator.cs (1)
126_scalingFactor = BitConverter.Int64BitsToDouble(0x71547652B82FEL | ((0x3FFL + value) << FractionWidth));
System\Diagnostics\Metrics\ExponentialHistogramAggregator.cs (1)
207return BitConverter.Int64BitsToDouble(bits);
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (1)
814public static double ToDouble(byte[] value, int startIndex) => Int64BitsToDouble(ToInt64(value, startIndex));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReadBigEndian.cs (2)
25BitConverter.Int64BitsToDouble(ReverseEndianness(MemoryMarshal.Read<long>(source))) : 270value = BitConverter.Int64BitsToDouble(ReverseEndianness(tmp));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReadLittleEndian.cs (2)
25BitConverter.Int64BitsToDouble(ReverseEndianness(MemoryMarshal.Read<long>(source))) : 270value = BitConverter.Int64BitsToDouble(ReverseEndianness(tmp));
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryAccessor.cs (1)
260public double ReadDouble(long position) => BitConverter.Int64BitsToDouble(ReadInt64(position));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
1571double u = BitConverter.Int64BitsToDouble(((long)(0x3ff + n) << 52));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeCustomAttributeData.cs (1)
552CustomAttributeEncoding.Double => BitConverter.Int64BitsToDouble(val.Byte8),
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (4)
61return (T)(object)BitConverter.Int64BitsToDouble(-1); 1494double result = BitConverter.Int64BitsToDouble(bits << shiftCount); 1556double result = BitConverter.Int64BitsToDouble(bits >> shiftCount); 1618double result = BitConverter.Int64BitsToDouble(bits >>> shiftCount);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Volatile.cs (1)
50return BitConverter.Int64BitsToDouble(result);
System.Private.Xml (3)
System\Xml\Xsl\XPathConvert.cs (3)
1106dblT = BitConverter.Int64BitsToDouble(0x4FF00000L << 32); 2789dbl = BitConverter.Int64BitsToDouble(BitConverter.DoubleToInt64Bits(dbl) - 1); 2814dbl = BitConverter.Int64BitsToDouble(BitConverter.DoubleToInt64Bits(dbl) + 1);