From -4237338733805241776
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,d93488bb970aa444
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2001-06-20 10:27:14 PST
Path: archiver1.google.com!news2.google.com!newsfeed.google.com!sn-xit-03!supernews.com!freenix!grolier!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: Francis Glassborow <francis.glassborow@ntlworld.com>
Newsgroups: comp.std.c++
Subject: Re: How to test for NaNs and infinites?
Date: Wed, 20 Jun 2001 17:14:15 GMT
Organization: Southfield Microcomputer SS
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <C8CVjLAjZ$L7EwfG@ntlworld.com>
References: <3B176D2F.70C3E7F7@meteo.fr>
 <usrihtkqfjd9qfj2bgtbp6pj530asi567k@4ax.com>
 <b172eb2f.0106071330.5f984936@posting.google.com>
 <9fql8h$pfg$1@news.hal-pc.org> <3B21100E.5B25F7AA@acm.org>
 <9frdlp$14bc$1@news.hal-pc.org> <fl3d9ail4o.fsf@sel.cmla.ens-cachan.fr>
 <9g2em7$1pkk$1@news.hal-pc.org> <fl7kyi5769.fsf@jambon.cmla.ens-cachan.fr>
 <9g7q93$1lu1$1@news.hal-pc.org> <3B278187.9E196C80@acm.org>
 <9g8a84$1uah$1@news.hal-pc.org> <3B28B104.807ED9AC@acm.org>
 <9gdpcm$267r$1@news.hal-pc.org> <flbsnlzpf6.fsf@jambon.cmla.ens-cachan.fr>
 <9gnjf5$1q76$1@news.hal-pc.org> <fld78073zj.fsf@jambon.cmla.ens-cachan.fr>
 <3B2F9717.D5017BD6@bear.com> <9go7h8$26jn$1@news.hal-pc.org>
Reply-To: Francis Glassborow <francisG@robinton.demon.co.uk>
X-Trace: mail2news.demon.co.uk 993057262 mail2news:22308 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)
MIME-Version: 1.0
X-Newsreader: Turnpike Integrated Version 5.00 U <TilyaeicE$WmMOP9F8P4$y3lmP>
Lines: 21
Xref: archiver1.google.com comp.std.c++:6219

In article <9go7h8$26jn$1@news.hal-pc.org>, Greg Brewer
<nospam.greg@brewer.net> writes
>The short of it is that it is an error to assume a length for an int.  It is
>not illegal!

It is an error to assume the length of any type. Indeed the error in
assuming that short will be 16-bits is worse because so many assume that
that must be right.


Francis Glassborow      ACCU
64 Southfield Rd
Oxford OX4 1PA          +44(0)1865 246490
All opinions are mine and do not represent those of any organisation

---
[ 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                ]



