summaryrefslogtreecommitdiff
path: root/sys/src/libstdio/dtoa.c
AgeCommit message (Collapse)Author
2021-02-09stdio: remove erronous assert in dtoaOri Bernstein
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.
2016-11-17/sys/src/lib*: clean upftrvxmtrx
2014-06-12libstdio: avoid issues with aliasing in dtoa() on amd64 (from 9atom, thanks ↵cinap_lenrek
to erik and charles)
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen