Less-than operators
Declared in <bdldfp_decimal.h>
Return true if the specified lhs has a value less than the specified rhs and false otherwise. The value of a Decimal32 object lhs is less than that of an object rhs if the compareQuietLess operation (IEEE-754 defined, non-total ordering comparison) considers the underlying IEEE representation of lhs to be less than of that of rhs. In other words, lhs is less than rhs if:
bool
operator<(
Decimal32 lhs,
Decimal32 rhs);
» more...
Return true if the specified lhs has a value less than the specified rhs and false otherwise. The value of a Decimal64 object lhs is less than that of an object rhs if the compareQuietLess operation (IEEE-754 defined, non-total ordering comparison) considers the underlying IEEE representation of lhs to be less than of that of rhs. In other words, lhs is less than rhs if:
bool
operator<(
Decimal64 lhs,
Decimal64 rhs);
» more...
Return true if the specified lhs has a value less than the specified rhs and false otherwise. The value of a decimal object lhs is less than that of an object rhs if the compareQuietLess operation (IEEE-754 defined, non-total ordering comparison) considers the underlying IEEE representation of lhs to be less than of that of rhs. In other words, lhs is less than rhs if:
bool
operator<(
Decimal32 lhs,
Decimal64 rhs);
» more...
Decimal arithmetic/comparison operation: bool operator<.
bool
operator<(
Decimal64 lhs,
Decimal32 rhs);
» more...
Return true if the specified lhs has a value less than the specified rhs and false otherwise. The value of a Decimal128 object lhs is less than that of an object rhs if the compareQuietLess operation (IEEE-754 defined, non-total ordering comparison) considers the underlying IEEE representation of lhs to be less than of that of rhs. In other words, lhs is less than rhs if:
bool
operator<(
Decimal128 lhs,
Decimal128 rhs);
» more...
Return true if the specified lhs has a value less than the specified rhs and false otherwise. The value of a decimal object lhs is less than that of an object rhs if the compareQuietLess operation (IEEE-754 defined, non-total ordering comparison) considers the underlying IEEE representation of lhs to be less than of that of rhs. In other words, lhs is less than rhs if:
bool
operator<(
Decimal32 lhs,
Decimal128 rhs);
» more...
Decimal arithmetic/comparison operation: bool operator<.
bool
operator<(
Decimal128 lhs,
Decimal32 rhs);
» more...
Decimal arithmetic/comparison operation: bool operator<.
bool
operator<(
Decimal64 lhs,
Decimal128 rhs);
» more...
Decimal arithmetic/comparison operation: bool operator<.
bool
operator<(
Decimal128 lhs,
Decimal64 rhs);
» more...