[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rationalize bug
From: |
Ludovic Courtès |
Subject: |
Re: rationalize bug |
Date: |
Tue, 02 Dec 2008 20:11:01 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
Hello Bill,
"Bill Schottstaedt" <address@hidden> writes:
> I hate to report a bug in my own handiwork, but I noticed
> this morning, while writing a scheme numerics test suite
> (numtst.c in the Snd tools directory), that if the error is
> 1.0, rationalize rounds the wrong way:
>
> guile> (rationalize 0.1 1.0)
> 1.0
> guile> (rationalize -0.9 1.0)
> 0.0
>
> Rats. I'll try to look at libguile/numbers.c soon.
Any news on that? :-)
Thanks,
Ludo'.
- Re: rationalize bug,
Ludovic Courtès <=