[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: negative zero
What is the purpose in returning negative zero in the first place?
Shriram Krishnamurthi <shriram@cs.rice.edu> on 06/20/2000 03:03:17 PM
Please respond to shriram@cs.rice.edu
To: Andre_M_Van_Meulebrouck@countrywide.com
cc: plt-scheme@fast.cs.utah.edu, vanmeule@acm.org
Subject: negative zero
Hi Andre:
> (exact? -0) => #t [not only does negative zero exist, it's exact!?]
Consider:
> (eq? -0 0)
#t
> (negative? -0)
#f
> (positive? -0)
#f
> (negative? 0)
#f
> (positive? 0)
#f
'shriram