Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
Mathematical Library Functionsisnan(3M)


NAME

 isnan - test for NaN

SYNOPSIS

 
cc [ flag ... ] file ... -lm [ library ... ]
#include <math.h>
int isnan(double x);

DESCRIPTION

 

The isnan() function tests whether x is NaN.


RETURN VALUES

 

The isnan() function returns non-zero if x is NaN. Otherwise, 0 is returned.


USAGE

 

On systems not supporting NaN, isnan() always returns 0.


ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelMT-Safe

SEE ALSO

 

attributes(5)



SunOS 5.9Go To TopLast Changed 29 Dec 1996