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

This page is part of the web mail archives of SRFI 77 from before July 7th, 2015. The new archives for SRFI 77 contain all messages, not just those from before July 7th, 2015.

*To*: Aubrey Jaffer <agj@xxxxxxxxxxxx>*Subject*: Re: +nan.0 problems*From*: Thomas Bushnell BSG <tb@xxxxxxxxxx>*Date*: Sun, 23 Oct 2005 12:42:22 -0700*Cc*: qrczak@xxxxxxxxxx, srfi-77@xxxxxxxxxxxxxxxxx*Delivered-to*: srfi-77@xxxxxxxxxxxxxxxxx*In-reply-to*: <20051023162805.963DC1B77BB@xxxxxxxxxxxxxxxxxxxxx> (Aubrey Jaffer's message of "Sun, 23 Oct 2005 12:28:05 -0400 (EDT)")*References*: <20051021145326.816C11B77BB@xxxxxxxxxxxxxxxxxxxxx> <20051021155906.GC16464@NYCMJCOWA2> <Pine.LNX.4.58.0510210910130.18969@xxxxxxxxxxxxxx> <20051022020312.GB5632@NYCMJCOWA2> <20051022163037.D2AFB1B77BB@xxxxxxxxxxxxxxxxxxxxx> <87zmp1tmd9.fsf@xxxxxxxxxxxxx> <20051022233336.236AC1B77BB@xxxxxxxxxxxxxxxxxxxxx> <87y84lvyx1.fsf@xxxxxxxxxxxxxxxxx> <20051023162805.963DC1B77BB@xxxxxxxxxxxxxxxxxxxxx>*User-agent*: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Aubrey Jaffer <agj@xxxxxxxxxxxx> writes: > Having (real? +nan.0) ==> #f and +nan.0 be an illegal argument to >, > <, <=, and >= is compatible with IEEE-754. Just because IEEE-754 > defines a behavior for comparisons with NaN doesn't mean Scheme must > redefine <, ... so that it accepts non-real arguments. Scheme already > has lots of non-real numbers which are illegal arguments to >: > > (> 5 5.+3.i) I agree with this. We could, if we chose, provide a different function, called ieee-compare, which did accept NaNs.

**References**:**arithmetic issues***From:*Aubrey Jaffer

**Re: arithmetic issues***From:*John.Cowan

**Re: arithmetic issues***From:*bear

**Re: arithmetic issues***From:*John.Cowan

**+nan.0 problems***From:*Aubrey Jaffer

**Re: +nan.0 problems***From:*Marcin 'Qrczak' Kowalczyk

**Re: +nan.0 problems***From:*Aubrey Jaffer

**Re: +nan.0 problems***From:*Thomas Bushnell BSG

**Re: +nan.0 problems***From:*Aubrey Jaffer

- Prev by Date:
**Re: Exactness** - Next by Date:
**Re: arithmetic issues** - Previous by thread:
**Re: +nan.0 problems** - Next by thread:
**Re: +nan.0 problems** - Index(es):