[−][src]Function qt_core::q_fp_classify_qfloat16
pub unsafe fn q_fp_classify_qfloat16(f: impl CastInto<Ref<Qfloat16>>) -> c_int
Classifies a floating-point value.
Calls C++ function: int qFpClassify(qfloat16 f)
.
Warning: no exact match found in C++ documentation. Below is the C++ documentation for 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
This item is available if cpp_lib_version="5.14.0"
.