diff options
| author | Ori Bernstein <ori@eigenstate.org> | 2021-02-09 13:57:38 -0800 |
|---|---|---|
| committer | Ori Bernstein <ori@eigenstate.org> | 2021-02-09 13:57:38 -0800 |
| commit | 0719ce2aa793f28ca63d2395a3568b75a60db27b (patch) | |
| tree | bb27038ec43dddb2c5111d3e62e392ede28aa206 /lib/cmap | |
| parent | 2d8adc7b881f20a8cc2dbccab84fc7e1655752a6 (diff) | |
| download | plan9front-0719ce2aa793f28ca63d2395a3568b75a60db27b.tar.xz | |
stdio: remove erronous assert in dtoa
The value of `k` in dtoa() is an estimate of
floor(log10(d)), where `d` is the number being
converted. The code was asserting that 'k' was
less than 100, but the full range of a double
goes to 10^308 or so.
This means that the majority of the range of
a double would trigger that assert.
Diffstat (limited to 'lib/cmap')
0 files changed, 0 insertions, 0 deletions
