BloombergLP::bdlb::DoubleCompareUtil::CompareResult

Enumeration of results from fuzzy comparison of two double values.

Synopsis

Declared in <bdlb_doublecompareutil.h>

enum CompareResult;

Members

NameDescription
e_EQUAL The values have fuzzy equality.
e_GREATER_THAN The first value is greater than the second (and not fuzzy-equal).
e_LESS_THAN The first value is less than the second (and not fuzzy-equal).
e_NON_COMPARABLE At least one value is NaN; the values are not comparable.