1FPCLASSIFY(P) POSIX Programmer's Manual FPCLASSIFY(P)
2
3
4
6 fpclassify - classify real floating type
7
9 #include <math.h>
10
11 int fpclassify(real-floating x);
12
13
15 The fpclassify() macro shall classify its argument value as NaN, infi‐
16 nite, normal, subnormal, zero, or into another implementation-defined
17 category. First, an argument represented in a format wider than its
18 semantic type is converted to its semantic type. Then classification is
19 based on the type of the argument.
20
22 The fpclassify() macro shall return the value of the number classifica‐
23 tion macro appropriate to the value of its argument.
24
26 No errors are defined.
27
28 The following sections are informative.
29
31 None.
32
34 None.
35
37 None.
38
40 None.
41
43 isfinite() , isinf() , isnan() , isnormal() , signbit() , the Base Def‐
44 initions volume of IEEE Std 1003.1-2001, <math.h>
45
47 Portions of this text are reprinted and reproduced in electronic form
48 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
49 -- Portable Operating System Interface (POSIX), The Open Group Base
50 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
51 Electrical and Electronics Engineers, Inc and The Open Group. In the
52 event of any discrepancy between this version and the original IEEE and
53 The Open Group Standard, the original IEEE and The Open Group Standard
54 is the referee document. The original Standard can be obtained online
55 at http://www.opengroup.org/unix/online.html .
56
57
58
59IEEE/The Open Group 2003 FPCLASSIFY(P)