[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] CR: Division by inexact zero should return infinit
Re: [Chicken-hackers] CR: Division by inexact zero should return infinity/nan
Wed, 7 Sep 2011 22:01:52 +0200
On Wed, Aug 24, 2011 at 09:18:44PM +0200, Peter Bex wrote:
> All other Schemes I tested with (Guile, Gauche, Scheme48, Racket and Gambit)
> return +inf.0 for (/ 1.0 0.0) and -inf.0 for (/ -1.0 0.0).
> They return +nan.0 for (/ 0.0 0.0). Extra data points would be welcome.
> I'd like to open a CR for doing the same in Chicken, to make it behave
> like a good little robot. If it is accepted, a corresponding change will
> also be made to the "numbers" egg. The CR has ticket number #672 in Trac.
The voting process has now started.
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth
- Re: [Chicken-hackers] CR: Division by inexact zero should return infinity/nan,
Peter Bex <=