Query: isnan
OS: hpux
Section: 3m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
isnan(3M) isnan(3M)NAMEisnan() - floating-point test for NaNSYNOPSISfloating-typeDESCRIPTIONThe macro determines whether its argument is a NaN. The argument must be of floating type. For HP Integrity servers, the argument can be any floating type. For PA-RISC, the argument must be either or The macro implements the functionality recommended by the IEEE-754 standard for floating-point arithmetic. The macro replaces the and functions, which are obsolete and are no longer supported.USAGETo use the macro, compile either with the default option or with the and options. Make sure your program includes Link in the math library by specifying on the compiler or linker command line.RETURN VALUEThe macro returns a nonzero value if and only if its argument has a NaN value. The macro raises no floating-point exceptions.ERRORSNo errors are defined.EXAMPLESTake certain actions if is not a NaN:SEE ALSOfpclassify(3M), isfinite(3M), isinf(3M), isnormal(3M), signbit(3M), math(5).STANDARDS CONFORMANCEisnan(3M)
Related Man Pages |
---|
isnan(3) - mojave |
isnormal(3) - mojave |
isnan(3m) - hpux |
fpclassify(3) - osx |
isfinite(3) - osx |
Similar Topics in the Unix Linux Community |
---|
How to Use macro _POSIX_SOURCE with pthread |
mpmath 0.7 (Default branch) |
mpmath 0.10 (Default branch) |
floating point error in linux + C |
help with macro tween and syntax error |