Basic classifications for floating-point numbers. Every floating-point number belongs to exactly one of these classifications. However, the enumerated values have disjoint bit-patterns to make it easy to create a "set" of classifications using bit-wise OR.
Declared in <bdlb_float.h>
enum Classification;
| Name | Description |
|---|---|
k_ZERO | Positive or negative zero classification. |
k_NORMAL | Full-precision, non-zero, normal number classification. |
k_SUBNORMAL | Subnormal floating-point classification. |
k_INFINITE | Infinite floating-point classification. |
k_NAN | NaN floating-point classification. |
BDES_ZERO | Deprecated alias for k_ZERO. |
BDES_NORMAL | Deprecated alias for k_ZERO. |
BDES_SUBNORMAL | Deprecated alias for k_ZERO. |
BDES_INFINITE | Deprecated alias for k_ZERO. |
BDES_NAN | Deprecated alias for k_ZERO. |