* Martin Spott -- Friday 06 May 2005 08:33:
> where is 'finite' expected to be declared ? I don't find a matching
> declaration on my Solaris box:

$ man finite
NAME
       isinf, isnan, finite - test for infinity or not-a-number (NaN)

SYNOPSIS
       #include <math.h>

       int isinf(double value);

       int isnan(double value);

       int finite(double value);

DESCRIPTION
       The  isinf()  function  returns  -1 if value represents negative 
infinity, 1 if value represents positive
       infinity, and 0 otherwise.

       The isnan() function returns a non-zero value if value is "not-a-number" 
(NaN), and 0 otherwise.

       The finite() function returns a non-zero value if value is neither 
infinite nor  a  "not-a-number"  (NaN)
       value, and 0 otherwise.

NOTE
       C99 provides additional macros, such as the type-independent 
fpclassify(), isinf() and isnan().

CONFORMING TO
       BSD 4.3



Eeew ... BSD "standard"?

m.

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to