[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] Padding/placeholders (hashes) in numerical syntax

Vincent St-Amour scripsit:

> Looking at the logs, single-precision float support was enabled by
> default starting at 5.1.1.

Okay, I've upgraded to 5.1.3 and now I get the expected results:  (/ 1.0 3.0)
produces different answers from (/ 1.0f0 3.0f0), and 1.0 is not eqv? to 1.0f0.

Bug report:  (/ 1.0f0 3.0f0) prints 0.3333333432674408f0, where the
low-order digits are obviously nonsense: only 8 digits make any sense
for single-floats, and that's all that should be printed.

I Hope, Sir, that we are not                    John Cowan
mutually Un-friended by this                    cowan@x
Difference which hath happened                  http://www.ccil.org/~cowan
betwixt us.     --Thomas Fuller, Appeal to Injured Innocence

Scheme-reports mailing list