Message-ID: <353EDEE5.2797D62E@usa.net> From: Paul Derbyshire Organization: The Chaos Zone MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Spotting NaNs Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 14 Date: Thu, 23 Apr 1998 06:29:30 GMT NNTP-Posting-Host: 206.172.228.123 NNTP-Posting-Date: Thu, 23 Apr 1998 02:29:30 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Is there an ANSI/POSIX function for testing if a float or a double is a NaN? -- .*. "Clouds are not spheres, mountains are not cones, coastlines are not -() < circles, and bark is not smooth, nor does lightning travel in a `*' straight line." ------------------------------------------------ -- B. Mandelbrot | Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca ______________________ ____|_____________ pderbysh AT usa DOT net Programmer & Humanist | ICQ: 10423848 | http://chat.carleton.ca/~pderbysh