chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] 0.0 versus -0.0


From: John Cowan
Subject: [Chicken-users] 0.0 versus -0.0
Date: Thu, 20 Jul 2006 12:18:24 -0400
User-agent: Mutt/1.3.28i

Is it clear that 0.0 and -0.0 should be the same in the sense of EQUAL?
Clearly they are the same in the sense of =, and -0.0 is not even
negative, because (< -0.0 0.0) is false by the IEEE rules, as SRFI-77
points out.

But as things now stand, there is no simple way to distinguish them.
They aren't printed differently either, at least not on Cygwin.

-- 
Verbogeny is one of the pleasurettes    John Cowan <address@hidden>
of a creatific thinkerizer.             http://www.ccil.org/~cowan
   -- Peter da Silva




reply via email to

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