Namespace for floating-point classification types and functions.
Declared in <bdlb_float.h>
struct Float;
| Name | Description |
|---|---|
Classification | 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. |
FineClassification | Fine-grained classifications for floating-point numbers that distinguish positive numbers from negative numbers and quiet NaNs from signaling NaNs. Every floating-point number belongs to exactly one of these classifications. |
| Name | Description |
|---|---|
classify | classify overloads |
classifyFine | classifyFine overloads |
isFinite | isFinite overloads |
isInfinite | isInfinite overloads |
isNan | isNan overloads |
isNormal | isNormal overloads |
isQuietNan | isQuietNan overloads |
isSignalingNan | isSignalingNan overloads |
isSubnormal | Return true if the specified floating point number holds a subnormal value, and false otherwise. |
isZero | Return true if the specified floating point number has a value of positive or negative zero, and false otherwise. |
signBit | signBit overloads |