mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 08:47:56 +01:00
Add wuffs_base__parse_number_xxx options arg
This commit is contained in:
1 parent
832edf7227
commit
6b7ce30e32
9 files changed
+83
-53
No files matched your search
@@ -1987,7 +1987,7 @@ wuffs_base__private_implementation__is_decimal_digit(uint8_t c) {
|
||||
}
|
||||
|
||||
WUFFS_BASE__MAYBE_STATIC wuffs_base__result_f64 //
|
||||
wuffs_base__parse_number_f64(wuffs_base__slice_u8 s) {
|
||||
wuffs_base__parse_number_f64(wuffs_base__slice_u8 s, uint32_t options) {
|
||||
// In practice, almost all "dd.ddddE±xxx" numbers can be represented
|
||||
// losslessly by a uint64_t mantissa "dddddd" and an int32_t base-10
|
||||
// exponent, adjusting "xxx" for the position (if present) of the decimal
|
||||
|
||||
Reference in new issue
Block a user