[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Scheme-reports] Division by zero
Still working on numbers stuff for Chicken, I found that the division
procedures (at least "/", maybe others) do not mention what happens
when dividing by zero. It would be a good thing to specify whether
it should error or not, (and also if this should happen for inexacts
For the floor/ ... euclidian-remainder, the document mentions that
n2 *should not be* 0, but it doesn't really say what happens when it is.
Since the standard now knows about exceptions, why not specify that an
exception should be signaled?
"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
Scheme-reports mailing list