From: Jari Oksanen Newsgroups: comp.os.msdos.djgpp Subject: Re: Spotting NaNs Date: Thu, 23 Apr 1998 13:04:03 +0100 Organization: Univ Helsinki Lines: 18 Message-ID: <353F2E33.2F59@helsinki.fi> References: <353EDEE5 DOT 2797D62E AT usa DOT net> <353EF0E0 DOT 36E61729 AT usa DOT net> NNTP-Posting-Host: neopc161.lpt.fi Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Paul Derbyshire wrote: > > Paul Derbyshire wrote: > > > > Is there an ANSI/POSIX function for testing if a float or a double is a NaN? > > Impatient, I wrote my own only to get a warning about an ambiguous overload, > which pointed me to an isnan in math.h. Oddly, it seems someone forgot to > document this thing in the info files. Nothing odd here: As far as I know, there are no info files for libm functions. You must have been reading libc info files which are not the same. Libc has only a part of libm functions, and even they are said to be different variants. Where are the info or man pages of math functions? In sources? -- Jari Oksanen -- Lahtis, Finland / Luokta, Suopma / Lahti, Häme.