3 implementations of FloatToBits
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
2325static ulong IBinaryFloatParseAndFormatInfo<double>.FloatToBits(double value) => BitConverter.DoubleToUInt64Bits(value);
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
2373static ulong IBinaryFloatParseAndFormatInfo<Half>.FloatToBits(Half value) => BitConverter.HalfToUInt16Bits(value);
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
2241static ulong IBinaryFloatParseAndFormatInfo<float>.FloatToBits(float value) => BitConverter.SingleToUInt32Bits(value);
4 references to FloatToBits
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (3)
584Debug.Assert(((precision != -1) && (precision < TNumber.MaxRoundTripDigits)) || (TNumber.FloatToBits(value) == TNumber.FloatToBits(NumberToFloat<TNumber>(ref number)))); 2539ulong bits = TNumber.FloatToBits(value);
src\libraries\System.Private.CoreLib\src\System\Number.NumberToFloatingPointBits.cs (1)
1033return TFloat.FloatToBits(result);