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.

Synopsis

Declared in <bdlb_float.h>

enum FineClassification;

Members

Name

Description

k_NEGATIVE

Bit flag indicating a negative floating‐point value.

k_SIGNALING

Bit flag indicating a signaling NaN.

k_POSITIVE_INFINITY

Bit flag indicating a signaling NaN.

k_NEGATIVE_INFINITY

Negative infinity classification.

k_QNAN

Quiet NaN classification.

k_SNAN

Quiet NaN classification.

k_POSITIVE_NORMAL

Quiet NaN classification.

k_NEGATIVE_NORMAL

Quiet NaN classification.

k_POSITIVE_SUBNORMAL

Quiet NaN classification.

k_NEGATIVE_SUBNORMAL

Quiet NaN classification.

k_POSITIVE_ZERO

Quiet NaN classification.

k_NEGATIVE_ZERO

Quiet NaN classification.

BDES_NEGATIVE

Deprecated alias for k_NEGATIVE.

BDES_SIGNALING

Deprecated alias for k_SIGNALING.

BDES_POSITIVE_INFINITY

Deprecated alias for k_POSITIVE_INFINITY.

BDES_NEGATIVE_INFINITY

Deprecated alias for k_NEGATIVE_INFINITY.

BDES_QNAN

Deprecated alias for k_NEGATIVE_INFINITY.

BDES_SNAN

Deprecated alias for k_NEGATIVE_INFINITY.

BDES_POSITIVE_NORMAL

Deprecated alias for k_NEGATIVE_INFINITY.

BDES_NEGATIVE_NORMAL

Deprecated alias for k_NEGATIVE_INFINITY.

BDES_POSITIVE_SUBNORMAL

Deprecated alias for k_NEGATIVE_INFINITY.

BDES_NEGATIVE_SUBNORMAL

Deprecated alias for k_NEGATIVE_INFINITY.

BDES_POSITIVE_ZERO

Deprecated alias for k_NEGATIVE_INFINITY.

BDES_NEGATIVE_ZERO

Deprecated alias for k_NEGATIVE_INFINITY.

Created with MrDocs