3 implementations of MaxRoundTripDigits
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
2322
static int IBinaryFloatParseAndFormatInfo<double>.
MaxRoundTripDigits
=> 17;
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
2375
static int IBinaryFloatParseAndFormatInfo<Half>.
MaxRoundTripDigits
=> 5;
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
2238
static int IBinaryFloatParseAndFormatInfo<float>.
MaxRoundTripDigits
=> 9;
2 references to MaxRoundTripDigits
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (2)
619
Debug.Assert(((precision != -1) && (precision < TNumber.
MaxRoundTripDigits
)) || (TNumber.FloatToBits(value) == TNumber.FloatToBits(NumberToFloat<TNumber>(ref number))));
633
nMaxDigits = Math.Max(number.DigitsCount, TNumber.
MaxRoundTripDigits
);