mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 16:47:28 +01:00
Add more parse_number_f64_eisel comments
This commit is contained in:
1 parent
b899c4091c
commit
b15a0fc349
3 files changed
+17
-9
No files matched your search
@@ -801,7 +801,11 @@ wuffs_base__private_implementation__high_prec_dec__round_just_enough(
|
||||
// --------
|
||||
|
||||
// wuffs_base__private_implementation__parse_number_f64_eisel produces the IEEE
|
||||
// 754 double-precision value for an exact mantissa and base-10 exponent.
|
||||
// 754 double-precision value for an exact mantissa and base-10 exponent. For
|
||||
// example:
|
||||
// - when parsing "12345.678e+02", man is 12345678 and exp10 is -1.
|
||||
// - when parsing "-12", man is 12 and exp10 is 0. Processing the leading
|
||||
// minus sign is the responsibility of the caller, not this function.
|
||||
//
|
||||
// On success, it returns a non-negative int64_t such that the low 63 bits hold
|
||||
// the 11-bit exponent and 52-bit mantissa.
|
||||
|
||||
Reference in new issue
Block a user