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