Re: [Scheme-reports] Padding/placeholders (hashes) in numerical syntax John Cowan (17 Aug 2011 20:50 UTC)

Re: [Scheme-reports] Padding/placeholders (hashes) in numerical syntax John Cowan 17 Aug 2011 20:08 UTC

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@ccil.org
Difference which hath happened                  http://www.ccil.org/~cowan
betwixt us.     --Thomas Fuller, Appeal to Injured Innocence

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports