isnormal()

Determine whether a floating-point number is normal

Synopsis:

#include <math.h>

#define isnormal( x ) ...

Arguments:

x
A floating-point value.

Library:

libm

Use the -l m option to qcc to link against this library.

Description:

The isnormal() macro determines whether the given floating-point number is normal (i.e., neither zero, subnormal, infinite, nor NaN).

Returns:

Nonzero
The value of x is normal.
0
The value of x isn't normal.

Classification:

ANSI, POSIX 1003.1

Safety:  
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes