📄 fp_class.3
字号:
.TH fp_class 3 RISC.SH Namefp_class \- classes of IEEE floating-point values.SH Syntax.nf.B #include <fp_class.h>.PP.B int fp_class_d(double \fIx\fP);.sp +.5.B int fp_class_f(float \fIx\fP);.fi.SH Description.NXR "fp_class routine" "RISC only"These routines are used to determine the class of IEEE floating-point values.They return one of the constants in the file .PN <fp_class.h>and never cause an exception, even for signaling NaNs.These routines are to implement the recommended function.RI class( x )in the appendix of the IEEE 754-1985 standard for binary floating-pointarithmetic.The constants in.PN <fp_class.h>refer to the following classes of values:.sp.ta \w'FP_POS_DENORM\ \ 'u\fBConstant Class\fP.sp .5FP_SNAN Signaling NaN (Not-a-Number).brFP_QNAN Quiet NaN (Not-a-Number).brFP_POS_INF +\(if (positive infinity).brFP_NEG_INF -\(if (negative infinity).brFP_POS_NORM positive normalized nonzero.brFP_NEG_NORM negative normalized nonzero.brFP_POS_DENORM positive denormalized.brFP_NEG_DENORM negative denormalized.brFP_POS_ZERO +0.0 (positive zero).brFP_NEG_ZERO -0.0 (negative zero).SH Also SeeANSI/IEEE Std 754-1985, IEEE Standard for Binary Floating-Point Arithmetic
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -