chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] EQV? and NaN


From: John Cowan
Subject: Re: [Chicken-users] EQV? and NaN
Date: Mon, 11 Jul 2011 16:58:09 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

Felix scripsit:

> "(eqv? +nan +nan)" being #t would mean violation of R5RS.

Technically, yes.  But R5RS didn't anticipate the strange behavior of
NaN.  Furthermore, the discrepancy doesn't seem to bother the developers
and users of Gauche, Gambit, Bigloo, Kawa, Scheme48, Chibi, or STklos,
all of which are R5RS systems.

> What's next, John? Make "(number? +nan)" return false?

No fear of that!

-- 
Principles.  You can't say A is         John Cowan <address@hidden>
made of B or vice versa.  All mass      http://www.ccil.org/~cowan
is interaction.  --Richard Feynman



reply via email to

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