From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,23a8a20ef7e9405e X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!eternal-september.org!.POSTED!not-for-mail From: Warren Newsgroups: comp.lang.ada Subject: Re: S'Is_nan or S'Is_inf? Date: Mon, 19 Jul 2010 17:04:56 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <1tbp3geoa5yna$.171cmlfdrbm98$.dlg@40tude.net> Injection-Date: Mon, 19 Jul 2010 17:04:56 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="29125"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JYEmKrzkpL8yGnQhfaNNjtTlikXOuc8g=" User-Agent: Xnews/5.04.25 X-Face: &6@]C2>ZS=NM|HE-^zWuryN#Z/2_.s9E|G&~DRi|sav9{E}XQJb*\_>=a5"q]\%A;5}LKP][1mA{gZ,Q!j Cancel-Lock: sha1:2TW4W3Nk9xbR7lN6wE7NTvJhljg= Xref: g2news1.google.com comp.lang.ada:12467 Date: 2010-07-19T17:04:56+00:00 List-Id: Simon Wright expounded in news:m2tynytykr.fsf@pushface.org: > Warren writes: > >> To detect NaN then, this seems to work: > > See above, where Jean-Pierre said > >> If X /= X, then X is a NaN (see http://en.wikipedia.org/wiki/NaN) Thanks. I later had a head slapping moment on the weekend where I had figured that out. ;-) Warren