[][src]Function qt_core::q_fp_classify_float

pub unsafe fn q_fp_classify_float(val: c_float) -> c_int
This is supported on cpp_lib_version="5.14.0" only.

Classifies a floating-point value.

Calls C++ function: int qFpClassify(float val).

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