23 references to Int64BitsToDouble
Microsoft.CodeAnalysis (2)
ConstantValueSpecialized.cs (1)
26
private static readonly double _s_IEEE_canonical_NaN = BitConverter.
Int64BitsToDouble
(unchecked((long)0xFFF8000000000000UL));
RealParser.cs (1)
38
d = BitConverter.
Int64BitsToDouble
((long)result);
Microsoft.CodeAnalysis.CSharp (1)
Utilities\ValueSetFactory.DoubleTC.cs (1)
61
return BitConverter.
Int64BitsToDouble
((long)l);
Microsoft.CodeAnalysis.UnitTests (2)
RealParserTests.cs (2)
382
double d = BitConverter.
Int64BitsToDouble
((long)bits);
401
CheckOneDouble(s, BitConverter.
Int64BitsToDouble
((long)expectedBits));
System.Data.Odbc (1)
Common\System\Data\ProviderBase\DbBuffer.cs (1)
206
return BitConverter.
Int64BitsToDouble
(value);
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\ExponentialHistogramAggregator.cs (1)
209
return BitConverter.
Int64BitsToDouble
(bits);
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (1)
760
public static double ToDouble(byte[] value, int startIndex) =>
Int64BitsToDouble
(ToInt64(value, startIndex));
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReadBigEndian.cs (2)
24
BitConverter.
Int64BitsToDouble
(ReverseEndianness(MemoryMarshal.Read<long>(source))) :
252
value = BitConverter.
Int64BitsToDouble
(ReverseEndianness(tmp));
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReadLittleEndian.cs (2)
24
BitConverter.
Int64BitsToDouble
(ReverseEndianness(MemoryMarshal.Read<long>(source))) :
252
value = BitConverter.
Int64BitsToDouble
(ReverseEndianness(tmp));
src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryAccessor.cs (1)
260
public double ReadDouble(long position) => BitConverter.
Int64BitsToDouble
(ReadInt64(position));
src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
1550
double u = BitConverter.
Int64BitsToDouble
(((long)(0x3ff + n) << 52));
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (3)
27
return (T)(object)BitConverter.
Int64BitsToDouble
(-1);
1290
double result = BitConverter.
Int64BitsToDouble
(bits << shiftCount);
1352
double result = BitConverter.
Int64BitsToDouble
(bits >> shiftCount);
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
539
CustomAttributeEncoding.Double => BitConverter.
Int64BitsToDouble
(val.Byte8),
System.Private.Xml (5)
System\Xml\Xsl\XPathConvert.cs (5)
59
return BitConverter.
Int64BitsToDouble
(bits | 1);
76
return BitConverter.
Int64BitsToDouble
(bits);
1106
dblT = BitConverter.
Int64BitsToDouble
(0x4FF00000L << 32);
2789
dbl = BitConverter.
Int64BitsToDouble
(BitConverter.DoubleToInt64Bits(dbl) - 1);
2814
dbl = BitConverter.
Int64BitsToDouble
(BitConverter.DoubleToInt64Bits(dbl) + 1);