Return the coarse classification of the specified number.

Synopsis

Declared in <bdlb_float.h>

static
Classification
classify(float number);

Description

The result is one of k_ZERO, k_NORMAL, k_SUBNORMAL, k_INFINITE, or k_NAN. This function has the same functionality as the fpclassify macro in C99.

Return Value

coarse classification of number

Parameters

Name

Description

number

floating‐point value to classify

Created with MrDocs