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

Table of contents


NAME

isnormalf, isnormal, isnormall, isnormalw, isnormalq, isnormalll, isnormaldf, isnormald, isnormaldl, isnormaldll - test for a normal value

SYNOPSIS

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

#include <mathcw.h>

extern int isnormalf (float x);

extern int isnormal (double x);

extern int isnormall (long double x);

extern int isnormalw (__float80 x);

extern int isnormalq (__float128 x);

extern int isnormalll (long_long_double x);

extern int isnormaldf (decimal_float x);

extern int isnormald (decimal_double x);

extern int isnormaldl (decimal_long_double x);

extern int isnormaldll (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 if normal (neither zero, subnormal, infinite, nor NaN).

RETURN VALUES

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

ERRORS

None.

SEE ALSO

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