From -2449988471680305438
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,d93488bb970aa444
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2001-06-18 11:17:01 PST
Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: Hubert.Holin@Bigfoot.com (Hubert HOLIN)
Newsgroups: comp.std.c++
Subject: Re: How to test for NaNs and infinites?
Date: Mon, 18 Jun 2001 18:16:28 GMT
Organization: http://groups.google.com/
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <b172eb2f.0106180508.490a6401@posting.google.com>
References: <3B176D2F.70C3E7F7@meteo.fr> <usrihtkqfjd9qfj2bgtbp6pj530asi567k@4ax.com> <b172eb2f.0106071330.5f984936@posting.google.com> <200106092315.BAA00841@brick.ens.fr>
X-Trace: mail2news.demon.co.uk 992888193 mail2news:20895 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Date: 18 Jun 2001 13:08:30 GMT
Lines: 36
Xref: archiver1.google.com comp.std.c++:6178

Somewhere in the E.U., le 18/06/2001

Valentin.Bonnard@free.fr (Valentin Bonnard) wrote in message news:<200106092315.BAA00841@brick.ens.fr>...
> Hubert HOLIN wrote:

[On coupe!]

> > 		I believe a fix 
>  
> > 		Could this make it into a DR?
> 
> Well tried, but calling an extension a ``fix'' doesn't make it a DR.

		The standard as it stands provides some funtionality (providing very
partial support for NaN and infinites) which is flawed (one can not
provide a way which is standard-conforming and does not evoque
undefined behaviour to use it, for instance to detect if something is
a NaN, for such environment where they are supported, and where
according to the standard we can explicitely create such entities).

		What I propose is a mecanism to remove that flaw (and which as a
bonus breaks no existing code, can be shown to be implementable on
several platforms and affects only those platforms where NaNs and
infinites are already supported).

		If such can not be called a fix, what can?

			Hubert Holin
			Hubert.Holin@Bigfoot.com

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html                ]



