isnanf man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

isnand(3)							     isnand(3)

       fpclass,	 isnand, isnanf	 - Related miscellaneous IEEE arithmetic func‐

       #include <ieeefp.h>

       fpclass_t    fpclass   (double x); int	       isnand	  (double  x);
       int	    isnanf    (float x);

       SVR4 Library (libsvr4)

       The  fpclass()  function determines the class of an IEEE floating-point
       value.  This returns one of the constants in the file  <fpclass.h>  and
       never  cause  an	 exception, even for signaling NaNs.  The constants in
       <fp_class.h> refer to the following classes of values:

       Constant		 Class
       FP_SNAN		 Signaling NaN (Not-a-Number)
       FP_QNAN		 Quiet NaN (Not-a-Number)
       FP_POS_INF	 +infinity
       FP_NEG_INF	 −infinity
       FP_POS_NORM	 Positive normalized
       FP_NEG_NORM	 Negative normalized
       FP_POS_DENORM	 Positive denormalized
       FP_NEG_DENORM	 Negative denormalized
       FP_POS_ZERO	 +0.0 (positive zero)
       FP_NEG_ZERO	 −0.0 (negative zero)

       The isnand(), and isnanf() functions return the value 1 (True) if x  is
       NaN  (the  IEEE floating point reserved not-a-number value); otherwise,
       it returns the value 0 (False).

       These routines need to be compiled with the -ieee flag.

       isnanf() function has a macro definition in the ieeefp.h	 header	 file.
       This definition comes into play when the _STDC_ macro is undefined.

       drem(3),	  logb(3),  scalb(3),  rint(3),	 sqrt(3),  and	ANSI/IEEE  Std
       754-1985, IEEE Standard for Binary Floating-Point Arithmetic

       delim off


List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net