[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: arithmetic issues*From*: Thomas Bushnell BSG <tb@xxxxxxxxxx>*Date*: Sat, 22 Oct 2005 17:47:25 -0700*Cc*: bear@xxxxxxxxx, jcowan@xxxxxxxxxxxxxxxxx, srfi-77@xxxxxxxxxxxxxxxxx*Delivered-to*: srfi-77@xxxxxxxxxxxxxxxxx*In-reply-to*: <20051022232548.5A2971B77BB@xxxxxxxxxxxxxxxxxxxxx> (Aubrey Jaffer's message of "Sat, 22 Oct 2005 19:25:48 -0400 (EDT)")*References*: <20051021145326.816C11B77BB@xxxxxxxxxxxxxxxxxxxxx> <20051021155906.GC16464@NYCMJCOWA2> <Pine.LNX.4.58.0510210910130.18969@xxxxxxxxxxxxxx> <20051022011713.1F22A1B77BB@xxxxxxxxxxxxxxxxxxxxx> <87vezqmjkq.fsf@xxxxxxxxxxxxxxxxx> <20051022232548.5A2971B77BB@xxxxxxxxxxxxxxxxxxxxx>*User-agent*: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Aubrey Jaffer <agj@xxxxxxxxxxxx> writes: > | From: Thomas Bushnell BSG <tb@xxxxxxxxxx> > | Date: Fri, 21 Oct 2005 18:22:45 -0700 > | > | Aubrey Jaffer <agj@xxxxxxxxxxxx> writes: > | > | > I think that an implementation should be allowed to signal an > | > error under some conditions where an error object is encountered. > | > Mandating readable written representations for error objects > | > prevents an implementation from signaling such errors. > | > | I think this might be confused. Surely the mandating of a > | representation would mean "if you print something (rather than > | signalling an error) you should print it such-and-such a way." > > That still prevents an implementation from displaying information > about what type of NaN was returned. Such information could be > helpful to find the call which generated the NaN. Huh? How does it prevent such? We *could* mandate a readable written representation for NaNs without manding that printing a NaN should produce that representation, since it would still be allowed to signal an error. (And then, once it is signalled, it could print *anything it wants*.) Moreover, nothing prevents the mandated written representation from optionally including implementation defined contents, if that should be useful. Thomas

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

**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

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