From 7735863073184151978
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,d93488bb970aa444
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2001-06-15 15:45:01 PST
Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: "Greg Brewer" <nospam.greg@brewer.net>
Newsgroups: comp.std.c++
Subject: Re: How to test for NaNs and infinites?
Date: Fri, 15 Jun 2001 22:44:21 GMT
Organization: Houston Area League of PC Users
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <9gdpcm$267r$1@news.hal-pc.org>
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>
X-Trace: mail2news.demon.co.uk 992645066 mail2news:18099 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)
NNTP-Posting-Date: Fri, 15 Jun 2001 19:58:15 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.3018.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
Lines: 31
Xref: archiver1.google.com comp.std.c++:6146

"Pete Becker" <petebecker@acm.org> wrote in message
news:3B28B104.807ED9AC@acm.org...
> Greg Brewer wrote:
> Could you, perhaps, explain why you think that "illegal" is not a
> reasonable colloquial term for "erroneous program construct"?
> Particularly since it's universally used to mean just that.

This is probably a mistake but I couldn't resist the challenge.  I think we
are both too hard headed to ever concede to the other.

The following is an example of an erroneous program construct:
  struct X
  {
      int length;               // 2 byte length of name
      char name[254];    // name
   };

When compiled with my 32 bit compiler, length will be 4 bytes long.  Thus,
the structure is in error.  It is in no way illegal!  This is completely in
line with the language of the paragraph cited which discussed both erroneous
data constructs and erroneous data.

Greg


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



