racket/racket
Matthew Flatt 0561d71e60 reader: fix imprecision reading some flonums
Reading `1.0e45` produced a different (and less precise) result than
`1e35`. The problem was in the reader's fast path for simple flonum
conversions, where it converts the mantissa and exponent separately
and then combines them. 10^44 is not represented exactly as a flonum,
so there's imprecision when multiplicy it by 10 versus multiplying
1e45 by 1.

Closes #3548
2020-12-14 13:41:11 -07:00
..
collects racket/port: fix spinning by peeking-input-port on blocked input 2020-12-14 10:13:18 -07:00
src reader: fix imprecision reading some flonums 2020-12-14 13:41:11 -07:00
.gitignore