1isnormal(3M) Mathematical Library Functions isnormal(3M)
2
3
4
6 isnormal - test for a normal value
7
9 c99 [ flag... ] file... -lm [ library... ]
10 #include <math.h>
11
12 int isnormal(real-floating x);
13
14
16 The isnormal() macro determines whether its argument value is normal
17 (neither zero, subnormal, infinite, nor NaN). First, an argument repre‐
18 sented in a format wider than its semantic type is converted to its
19 semantic type. Then determination is based on the type of the argument.
20
22 The isnormal() macro returns a non-zero value if and only if its argu‐
23 ment has a normal value.
24
26 No errors are defined.
27
29 See attributes(5) for descriptions of the following attributes:
30
31
32
33
34 ┌─────────────────────────────┬─────────────────────────────┐
35 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
36 ├─────────────────────────────┼─────────────────────────────┤
37 │Interface Stability │Standard │
38 ├─────────────────────────────┼─────────────────────────────┤
39 │MT-Level │MT-Safe │
40 └─────────────────────────────┴─────────────────────────────┘
41
43 fpclassify(3M), isfinite(3M), isinf(3M), isnan(3M), math.h(3HEAD),
44 signbit(3M), attributes(5), standards(5)
45
46
47
48SunOS 5.11 12 Jul 2006 isnormal(3M)