1isinf(3M) Mathematical Library Functions isinf(3M)
2
3
4
6 isinf - test for infinity
7
9 c99 [ flag... ] file... -lm [ library... ]
10 #include <math.h>
11
12 int isinf(real-floating x);
13
14
16 The isinf() macro determines whether its argument value is an infinity
17 (positive or negative). First, an argument represented in a format
18 wider than its semantic type is converted to its semantic type. Then
19 determination is based on the type of the argument.
20
22 The isinf() macro returns a non-zero value if and only if its argument
23 has an infinite 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), isnan(3M), isnormal(3M), math.h(3HEAD),
44 signbit(3M), attributes(5), standards(5)
45
46
47
48SunOS 5.11 17 Nov 2008 isinf(3M)