[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*: srfi-77@xxxxxxxxxxxxxxxxx*Subject*: Re: arithmetic issues*From*: Jens Axel Søgaard <jensaxel@xxxxxxxxxxxx>*Date*: Sun, 23 Oct 2005 22:01:37 +0200*Delivered-to*: srfi-77@xxxxxxxxxxxxxxxxx*In-reply-to*: <20051023195403.A50AF1B77BB@xxxxxxxxxxxxxxxxxxxxx>*References*: <20051021145326.816C11B77BB@xxxxxxxxxxxxxxxxxxxxx> <20051021155906.GC16464@NYCMJCOWA2> <Pine.LNX.4.58.0510210910130.18969@xxxxxxxxxxxxxx> <20051022011713.1F22A1B77BB@xxxxxxxxxxxxxxxxxxxxx> <87vezqmjkq.fsf@xxxxxxxxxxxxxxxxx> <20051022232548.5A2971B77BB@xxxxxxxxxxxxxxxxxxxxx> <873bmtxdnm.fsf@xxxxxxxxxxxxxxxxx> <20051023181854.4E7DD1B77BB@xxxxxxxxxxxxxxxxxxxxx> <871x2cowe8.fsf@xxxxxxxxxxxxxxxxx> <20051023195403.A50AF1B77BB@xxxxxxxxxxxxxxxxxxxxx>*User-agent*: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Aubrey Jaffer wrote:

| From: Thomas Bushnell BSG <tb@xxxxxxxxxx> | Date: Sun, 23 Oct 2005 12:39:43 -0700|| Aubrey Jaffer <agj@xxxxxxxxxxxx> writes:|| > When different NaNs are returned depending on the circumstances| > creating them, I would like my implementation to display them | > like this: | > | > #<not-a-number expt>|| Sure, that seems fine. We could mandate that as the readable written| representation! It should *not* be a readable representation. That serves only to mask mathematical errors in saved datasets. As Bakul Shah wrote: "... IEEE754 says NaN is the result of an *invalid* operation, when an operation's operands lie outside its domain."

Say I want to write my own mathematical function and need to return NaN? E.g. (if <check-arguments> <calculate-result> #<not-a-number> is, to me, more readable than (if <check-arguments> <calculate-result> (/ 0.0 0.0)) -- Jens Axel Søgaard

**Follow-Ups**:**Re: arithmetic issues***From:*Aubrey Jaffer

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

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

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

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

**Re: arithmetic issues***From:*Aubrey Jaffer

**Re: arithmetic issues***From:*Thomas Bushnell BSG

**Re: arithmetic issues***From:*Aubrey Jaffer

**Re: arithmetic issues***From:*Thomas Bushnell BSG

**Re: arithmetic issues***From:*Aubrey Jaffer

**Re: arithmetic issues***From:*Thomas Bushnell BSG

**Re: arithmetic issues***From:*Aubrey Jaffer

- Prev by Date:
**Re: arithmetic issues** - Next by Date:
**Re: arithmetic issues** - Previous by thread:
**Re: arithmetic issues** - Next by thread:
**Re: arithmetic issues** - Index(es):