3 implementations of IBinaryFloatParseAndFormatInfo
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
30IBinaryFloatParseAndFormatInfo<double>
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
28IBinaryFloatParseAndFormatInfo<Half>
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
30IBinaryFloatParseAndFormatInfo<float>
92 references to IBinaryFloatParseAndFormatInfo
System.Private.CoreLib (92)
src\libraries\System.Private.CoreLib\src\System\Double.cs (25)
2286static int IBinaryFloatParseAndFormatInfo<double>.NumberBufferLength => Number.DoubleNumberBufferLength; 2288static ulong IBinaryFloatParseAndFormatInfo<double>.ZeroBits => 0; 2289static ulong IBinaryFloatParseAndFormatInfo<double>.InfinityBits => 0x7FF00000_00000000; 2291static ulong IBinaryFloatParseAndFormatInfo<double>.NormalMantissaMask => (1UL << SignificandLength) - 1; 2292static ulong IBinaryFloatParseAndFormatInfo<double>.DenormalMantissaMask => TrailingSignificandMask; 2294static int IBinaryFloatParseAndFormatInfo<double>.MinBinaryExponent => 1 - MaxExponent; 2295static int IBinaryFloatParseAndFormatInfo<double>.MaxBinaryExponent => MaxExponent; 2297static int IBinaryFloatParseAndFormatInfo<double>.MinDecimalExponent => -324; 2298static int IBinaryFloatParseAndFormatInfo<double>.MaxDecimalExponent => 309; 2300static int IBinaryFloatParseAndFormatInfo<double>.ExponentBias => ExponentBias; 2301static ushort IBinaryFloatParseAndFormatInfo<double>.ExponentBits => 11; 2303static int IBinaryFloatParseAndFormatInfo<double>.OverflowDecimalExponent => (MaxExponent + (2 * SignificandLength)) / 3; 2304static int IBinaryFloatParseAndFormatInfo<double>.InfinityExponent => 0x7FF; 2306static ushort IBinaryFloatParseAndFormatInfo<double>.NormalMantissaBits => SignificandLength; 2307static ushort IBinaryFloatParseAndFormatInfo<double>.DenormalMantissaBits => TrailingSignificandLength; 2309static int IBinaryFloatParseAndFormatInfo<double>.MinFastFloatDecimalExponent => -342; 2310static int IBinaryFloatParseAndFormatInfo<double>.MaxFastFloatDecimalExponent => 308; 2312static int IBinaryFloatParseAndFormatInfo<double>.MinExponentRoundToEven => -4; 2313static int IBinaryFloatParseAndFormatInfo<double>.MaxExponentRoundToEven => 23; 2315static int IBinaryFloatParseAndFormatInfo<double>.MaxExponentFastPath => 22; 2316static ulong IBinaryFloatParseAndFormatInfo<double>.MaxMantissaFastPath => 2UL << TrailingSignificandLength; 2318static double IBinaryFloatParseAndFormatInfo<double>.BitsToFloat(ulong bits) => BitConverter.UInt64BitsToDouble(bits); 2320static ulong IBinaryFloatParseAndFormatInfo<double>.FloatToBits(double value) => BitConverter.DoubleToUInt64Bits(value); 2322static int IBinaryFloatParseAndFormatInfo<double>.MaxRoundTripDigits => 17; 2324static int IBinaryFloatParseAndFormatInfo<double>.MaxPrecisionCustomFormat => 15;
src\libraries\System.Private.CoreLib\src\System\Half.cs (25)
2339static int IBinaryFloatParseAndFormatInfo<Half>.NumberBufferLength => Number.HalfNumberBufferLength; 2341static ulong IBinaryFloatParseAndFormatInfo<Half>.ZeroBits => 0; 2342static ulong IBinaryFloatParseAndFormatInfo<Half>.InfinityBits => 0x7C00; 2344static ulong IBinaryFloatParseAndFormatInfo<Half>.NormalMantissaMask => (1UL << SignificandLength) - 1; 2345static ulong IBinaryFloatParseAndFormatInfo<Half>.DenormalMantissaMask => TrailingSignificandMask; 2347static int IBinaryFloatParseAndFormatInfo<Half>.MinBinaryExponent => 1 - MaxExponent; 2348static int IBinaryFloatParseAndFormatInfo<Half>.MaxBinaryExponent => MaxExponent; 2350static int IBinaryFloatParseAndFormatInfo<Half>.MinDecimalExponent => -8; 2351static int IBinaryFloatParseAndFormatInfo<Half>.MaxDecimalExponent => 5; 2353static int IBinaryFloatParseAndFormatInfo<Half>.ExponentBias => ExponentBias; 2354static ushort IBinaryFloatParseAndFormatInfo<Half>.ExponentBits => 5; 2356static int IBinaryFloatParseAndFormatInfo<Half>.OverflowDecimalExponent => (MaxExponent + (2 * SignificandLength)) / 3; 2357static int IBinaryFloatParseAndFormatInfo<Half>.InfinityExponent => 0x1F; 2359static ushort IBinaryFloatParseAndFormatInfo<Half>.NormalMantissaBits => SignificandLength; 2360static ushort IBinaryFloatParseAndFormatInfo<Half>.DenormalMantissaBits => TrailingSignificandLength; 2362static int IBinaryFloatParseAndFormatInfo<Half>.MinFastFloatDecimalExponent => -8; 2363static int IBinaryFloatParseAndFormatInfo<Half>.MaxFastFloatDecimalExponent => 4; 2365static int IBinaryFloatParseAndFormatInfo<Half>.MinExponentRoundToEven => -21; 2366static int IBinaryFloatParseAndFormatInfo<Half>.MaxExponentRoundToEven => 5; 2368static int IBinaryFloatParseAndFormatInfo<Half>.MaxExponentFastPath => 4; 2369static ulong IBinaryFloatParseAndFormatInfo<Half>.MaxMantissaFastPath => 2UL << TrailingSignificandLength; 2371static Half IBinaryFloatParseAndFormatInfo<Half>.BitsToFloat(ulong bits) => BitConverter.UInt16BitsToHalf((ushort)(bits)); 2373static ulong IBinaryFloatParseAndFormatInfo<Half>.FloatToBits(Half value) => BitConverter.HalfToUInt16Bits(value); 2375static int IBinaryFloatParseAndFormatInfo<Half>.MaxRoundTripDigits => 5; 2377static int IBinaryFloatParseAndFormatInfo<Half>.MaxPrecisionCustomFormat => 5;
src\libraries\System.Private.CoreLib\src\System\Number.DiyFp.cs (2)
33where TNumber : unmanaged, IBinaryFloatParseAndFormatInfo<TNumber> 41where TNumber : unmanaged, IBinaryFloatParseAndFormatInfo<TNumber>
src\libraries\System.Private.CoreLib\src\System\Number.Dragon4.cs (1)
14where TNumber : unmanaged, IBinaryFloatParseAndFormatInfo<TNumber>
src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (4)
530where TNumber : unmanaged, IBinaryFloatParseAndFormatInfo<TNumber> 539where TNumber : unmanaged, IBinaryFloatParseAndFormatInfo<TNumber> 562where TNumber : unmanaged, IBinaryFloatParseAndFormatInfo<TNumber> 2572where TNumber : unmanaged, IBinaryFloatParseAndFormatInfo<TNumber>
src\libraries\System.Private.CoreLib\src\System\Number.Grisu3.cs (1)
325where TNumber : unmanaged, IBinaryFloatParseAndFormatInfo<TNumber>
src\libraries\System.Private.CoreLib\src\System\Number.NumberToFloatingPointBits.cs (5)
720where TFloat : unmanaged, IBinaryFloatParseAndFormatInfo<TFloat> 839where TFloat : unmanaged, IBinaryFloatParseAndFormatInfo<TFloat> 973where TFloat : unmanaged, IBinaryFloatParseAndFormatInfo<TFloat> 1055where TFloat : unmanaged, IBinaryFloatParseAndFormatInfo<TFloat> 1275where TFloat : unmanaged, IBinaryFloatParseAndFormatInfo<TFloat>
src\libraries\System.Private.CoreLib\src\System\Number.Parsing.cs (4)
51where TSelf : unmanaged, IBinaryFloatParseAndFormatInfo<TSelf> 858where TFloat : unmanaged, IBinaryFloatParseAndFormatInfo<TFloat> 950where TFloat : unmanaged, IBinaryFloatParseAndFormatInfo<TFloat> 1083where TFloat : unmanaged, IBinaryFloatParseAndFormatInfo<TFloat>
src\libraries\System.Private.CoreLib\src\System\Single.cs (25)
2202static int IBinaryFloatParseAndFormatInfo<float>.NumberBufferLength => Number.SingleNumberBufferLength; 2204static ulong IBinaryFloatParseAndFormatInfo<float>.ZeroBits => 0; 2205static ulong IBinaryFloatParseAndFormatInfo<float>.InfinityBits => 0x7F800000; 2207static ulong IBinaryFloatParseAndFormatInfo<float>.NormalMantissaMask => (1UL << SignificandLength) - 1; 2208static ulong IBinaryFloatParseAndFormatInfo<float>.DenormalMantissaMask => TrailingSignificandMask; 2210static int IBinaryFloatParseAndFormatInfo<float>.MinBinaryExponent => 1 - MaxExponent; 2211static int IBinaryFloatParseAndFormatInfo<float>.MaxBinaryExponent => MaxExponent; 2213static int IBinaryFloatParseAndFormatInfo<float>.MinDecimalExponent => -45; 2214static int IBinaryFloatParseAndFormatInfo<float>.MaxDecimalExponent => 39; 2216static int IBinaryFloatParseAndFormatInfo<float>.ExponentBias => ExponentBias; 2217static ushort IBinaryFloatParseAndFormatInfo<float>.ExponentBits => 8; 2219static int IBinaryFloatParseAndFormatInfo<float>.OverflowDecimalExponent => (MaxExponent + (2 * SignificandLength)) / 3; 2220static int IBinaryFloatParseAndFormatInfo<float>.InfinityExponent => 0xFF; 2222static ushort IBinaryFloatParseAndFormatInfo<float>.NormalMantissaBits => SignificandLength; 2223static ushort IBinaryFloatParseAndFormatInfo<float>.DenormalMantissaBits => TrailingSignificandLength; 2225static int IBinaryFloatParseAndFormatInfo<float>.MinFastFloatDecimalExponent => -65; 2226static int IBinaryFloatParseAndFormatInfo<float>.MaxFastFloatDecimalExponent => 38; 2228static int IBinaryFloatParseAndFormatInfo<float>.MinExponentRoundToEven => -17; 2229static int IBinaryFloatParseAndFormatInfo<float>.MaxExponentRoundToEven => 10; 2231static int IBinaryFloatParseAndFormatInfo<float>.MaxExponentFastPath => 10; 2232static ulong IBinaryFloatParseAndFormatInfo<float>.MaxMantissaFastPath => 2UL << TrailingSignificandLength; 2234static float IBinaryFloatParseAndFormatInfo<float>.BitsToFloat(ulong bits) => BitConverter.UInt32BitsToSingle((uint)(bits)); 2236static ulong IBinaryFloatParseAndFormatInfo<float>.FloatToBits(float value) => BitConverter.SingleToUInt32Bits(value); 2238static int IBinaryFloatParseAndFormatInfo<float>.MaxRoundTripDigits => 9; 2240static int IBinaryFloatParseAndFormatInfo<float>.MaxPrecisionCustomFormat => 7;