[r6rs-discuss] [Formal] < is inconsistent on NaNs.

From: Michael Sperber <sperber>
Date: Thu Jan 25 08:59:40 2007

Aubrey Jaffer <agj_at_alum.mit.edu> writes:

> Page 42: 9.9.4 Numeric Operations gives < as a procedure of one or
> more real arguments:
>
> (< x1 x2 x3 . . . ) procedure
>
> But later in the description states:
>
> For any number z:
> (= +nan.0 z) ==> #f
> (< +nan.0 z) ==> #f

This is a typo, very probably my fault. The second "z" should be an
"x", and thus restricted to a real number. If you think this is the
wrong way to fix this, speak up.

Thanks for spotting this!

-- 
Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla
Received on Thu Jan 25 2007 - 08:59:34 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC