| 宏 | fpclassify(x) |
|---|
| 函数 | int fpclassify (float x);int fpclassify (double x);int fpclassify (long double x); |
|---|
int 类型的值,该值与其中一个分类宏常量匹配,具体取决于 x 的值| 值 | 描述 |
|---|---|
| FP_INFINITE | 正无穷大或负无穷大 (溢出) |
| FP_NAN | 非数字 (Not-A-Number) |
| FP_ZERO | 零值 |
| FP_SUBNORMAL | 次正规值 (下溢) |
| FP_NORMAL | 正规值 (非以上任何情况) |
int 类型的宏常量在头文件 <cmath> (<math.h>) 中定义。float、double 或 long double。int 值之一:FP_INFINITE、FP_NAN、FP_ZERO、FP_SUBNORMAL 或 FP_NORMAL。 |
|
infinite positive or unsigned |