[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NaN symbol?
From: |
Chris B . Vetter |
Subject: |
Re: NaN symbol? |
Date: |
Wed, 19 Jun 2002 09:56:34 -0700 |
On 19 Jun 2002 10:51:12 -0500
Ken Causey <ken@ineffable.com> wrote:
> I'm get ObjcUnit built and I think I'm there but to make sure I want to
> get the internal testsuite built and make sure that it passes. However,
> a few of the test check that comparisons to NAN work and or fail, as
> appropriate. However, I can't seem to find any definitions of an
> appropriate symbol for such a value.
> Help?
Maybe this will help:
NAME
isinf, isnan, isnanf - test for infinity or not-a-number
DESCRIPTION
The isinf() function returns 1 if the number is ``infinity'', otherwise 0.
The isnan() and isnanf() functions return 1 if the double or float
(respectively) is ``not-a-number'', otherwise 0.
--
Chris
- NaN symbol?, Ken Causey, 2002/06/19
- Re: NaN symbol?,
Chris B . Vetter <=