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

Table of contents


NAME

isfinitef, isfinite, isfinitel, isfinitew, isfiniteq, isfinitell, isfinitedf, isfinited, isfinitedl, isfinitedll - test for finite value

SYNOPSIS

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

#include <mathcw.h>

extern int isfinitef (float x);

extern int isfinite (double x);

extern int isfinitel (long double x);

extern int isfinitew (__float80 x);

extern int isfiniteq (__float128 x);

extern int isfinitell (long_long_double x);

extern int isfinitedf (decimal_float x);

extern int isfinited (decimal_double x);

extern int isfinitedl (decimal_long_double x);

extern int isfinitedll (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 finite, that is, whether it is zero, subnormal, or normal, and neither infinite nor a NaN.

RETURN VALUES

Return 1 if the argument is finite, and 0 otherwise.

ERRORS

None.

SEE ALSO

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