1fpclassify(3M)          Mathematical Library Functions          fpclassify(3M)
2
3
4

NAME

6       fpclassify - classify real floating type
7

SYNOPSIS

9       c99 [ flag... ] file... -lm [ library... ]
10       #include <math.h>
11
12       int fpclassify(real-floating x);
13
14

DESCRIPTION

16       The  fpclassify() macro classifies its argument value as NaN, infinite,
17       normal, subnormal, or zero. First, an argument represented in a  format
18       wider  than  its  semantic type is converted to its semantic type. Then
19       classification is based on the type of the argument.
20

RETURN VALUES

22       The fpclassify() macro returns the value of the  number  classification
23       macro appropriate to the value of its argument.
24

ERRORS

26       No errors are defined.
27

ATTRIBUTES

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

SEE ALSO

43       isfinite(3M),  isinf(3M), isnan(3M), isnormal(3M), math.h(3HEAD), sign‐
44       bit(3M), attributes(5), standards(5)
45
46
47
48SunOS 5.11                        12 Jul 2006                   fpclassify(3M)
Impressum