Merge pull request #159 from huangqinjin/replace-utf8-chars

Replace utf8 chars.
This commit is contained in:
Daniel Lemire 2022-12-23 10:38:50 -05:00 committed by GitHub
commit 6d0423720f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,11 +17,11 @@ namespace fast_float {
*/ */
/** /**
* The smallest non-zero float (binary64) is 2^1074. * The smallest non-zero float (binary64) is 2^-1074.
* We take as input numbers of the form w x 10^q where w < 2^64. * We take as input numbers of the form w x 10^q where w < 2^64.
* We have that w * 10^-343 < 2^(64-344) 5^-343 < 2^-1076. * We have that w * 10^-343 < 2^(64-344) 5^-343 < 2^-1076.
* However, we have that * However, we have that
* (2^64-1) * 10^-342 = (2^64-1) * 2^-342 * 5^-342 > 2^1074. * (2^64-1) * 10^-342 = (2^64-1) * 2^-342 * 5^-342 > 2^-1074.
* Thus it is possible for a number of the form w * 10^-342 where * Thus it is possible for a number of the form w * 10^-342 where
* w is a 64-bit value to be a non-zero floating-point number. * w is a 64-bit value to be a non-zero floating-point number.
********* *********