[ sisc-Bugs-1729292 ] NaN is equal to infinities

"SourceForge.net" <[email protected]> Thu, 31 May 2007 21:13:51 -0700
Newsgroups gmane.comp.java.sisc.devel
Message-ID <[email protected]>
Bugs item #1729292, was opened at 2007-06-01 08:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1729292&group_id=23735

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Oleg Paraschenko (olpa)
Assigned to: Nobody/Anonymous (nobody)
Summary: NaN is equal to infinities

Initial Comment:
1)

$ sisc 
which: no rlwrap in
(/home/olpa/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/games)
SISC (1.15.3)
#;> (define (gx:nan? x) (equal? x #!nan))
#;> (map gx:nan? (list (/ 0.0 0.0) (/ 1.0 0.0) (/ -1.0 0.0)))
(#t #t #t)

Should be (#t #f #f)

2)

#;> (= #!nan 2)
#t

Should be #f.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1729292&group_id=23735

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/