Function qt_core::q_fp_classify_double
source · pub unsafe fn q_fp_classify_double(val: c_double) -> c_int
Available on
cpp_lib_version="5.14.0"
only.Expand description
Classifies a floating-point value.
Calls C++ function: int qFpClassify(double val)
.
Classifies a floating-point value.
The return values are defined in <cmath>
: returns one of the following, determined by the floating-point class of val:
- FP_NAN not a number
- FP_INFINITE infinities (positive or negative)
- FP_ZERO zero (positive or negative)
- FP_NORMAL finite with a full mantissa
- FP_SUBNORMAL finite with a reduced mantissa