ISINF 3CW "09 March 2006" "mathcw-1.00"

Table of contents


NAME

isinff, isinf, isinfl, isinfw, isinfq, isinfll, isinfdf, isinfd, isinfdl, isinfdll - test for infinity

SYNOPSIS

cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]

#include <mathcw.h>

extern int isinff (float x);

extern int isinf (double x);

extern int isinfl (long double x);

extern int isinfw (__float80 x);

extern int isinfq (__float128 x);

extern int isinfll (long_long_double x);

extern int isinfdf (decimal_float x);

extern int isinfd (decimal_double x);

extern int isinfdl (decimal_long_double x);

extern int isinfdll (decimal_long_long_double x);

NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.


DESCRIPTION

Determine whether the argument is +Infinity or -Infinity.

RETURN VALUES

Return 1 if the argument is +Infinity or -Infinity, and 0 otherwise.

ERRORS

None.

SEE ALSO

fpclassify(3CW), isfinite(3CW), isnan(3CW), isnormal(3CW), issubnormal(3CW).