Query: isfinite
OS: hpux
Section: 3m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
isfinite(3M) isfinite(3M)NAMEisfinite() - floating-point finiteness macroSYNOPSISfloating-typeDESCRIPTIONThe macro determines whether its argument has a finite value (zero, denormalized, or normalized, and not infinite or NaN). The argument must be of floating type, and classification is based on the type of the argument. 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.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 finite value. The macro raises no floating-point exceptions.ERRORSNo errors are defined.EXAMPLESMake sure a value is finite before continuing operations on it:SEE ALSOfpclassify(3M), isinf(3M), isnan(3M), isnormal(3M), signbit(3M), math(5).STANDARDS CONFORMANCEisfinite(3M)