[Top][All Lists]

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

bug#30426: division inconsistency?

From: bil
Subject: bug#30426: division inconsistency?
Date: Mon, 12 Feb 2018 13:59:24 -0800
User-agent: Roundcube Webmail/1.0.12

Thanks very much for the informative answer!  I am not sure what
(* 0 +nan.0) should return.  I lean toward +nan.0 mainly because
I assume NaNs exist to indicate an error somewhere, and you want
that to be returned. For (* 0 +inf.0) I have no druthers.
For (/ 0.0 0) and (/ +nan.0 0) s7 throws a divide-by-zero error,
but I have no good reason for doing this.  In s7, I'd prefer
to say (/ x y ...) is equal to (/ x (* y ...)) in all cases.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]