BloombergLP::bdlb::Float::classifyFine

Return the fine-grained classification of the specified number.

Synopsis

Declared in <bdlb_float.h>

static
FineClassification
classifyFine(double number);

Description

For positive numbers and quiet NaNs, classifyFine returns the same integer value as classify. For negative numbers, classifyFine returns an integer value equal to value returned by classify bit-wise OR'ed with k_NEGATIVE. For signaling NaNs, classifyFine returns k_SNAN, which has the integer value of k_NAN | k_SIGNALING.

Return Value

fine-grained classification of number

Parameters

NameDescription
numberfloating-point value to classify