Re: detecting NaN and Infiinity
"Scott G. Miller" <[email protected]> Thu, 31 May 2007 00:16:04 -0500
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, May 29, 2007 at 06:04:00PM +0400, Oleg A. Paraschenko wrote: > > Try equal? > > Unfortunately, no: > > $ 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) That actually appears to be a bug then. If you have a sourceforge account, would you mind filing it? Otherwise I'll do so. Scott ------------------------------------------------------------------------- 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/