isnormal(3M) Mathematical Library Functions isnormal(3M)NAMEisnormal - test for a normal value
SYNOPSIS
c99 [ flag... ] file... -lm [ library... ]
#include <math.h>
int isnormal(real-floating x);
DESCRIPTION
The isnormal() macro determines whether its argument value is normal
(neither zero, subnormal, infinite, nor NaN). First, an argument repre‐
sented in a format wider than its semantic type is converted to its
semantic type. Then determination is based on the type of the argument.
RETURN VALUES
The isnormal() macro returns a non-zero value if and only if its argu‐
ment has a normal value.
ERRORS
No errors are defined.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │MT-Safe │
├─────────────────────────────┼─────────────────────────────┤
│Standard │See standards(5). │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOfpclassify(3M), isfinite(3M), isinf(3M), isnan(3M), math.h(3HEAD),
signbit(3M), attributes(5), standards(5)SunOS 5.11 12 Jul 2006 isnormal(3M)