Greater‐than operators
Synopses
Declared in <bdldfp_decimal.h>
Return true if the specified lhs has a greater value than the specified rhs and false otherwise. The value of a Decimal32 object lhs is greater than that of an object rhs if the compareQuietGreater operation (IEEE‐754 defined, non‐total ordering comparison) considers the underlying IEEE representation of lhs to be greater than of that of rhs. In other words, lhs is greater than `rhs`if:
Return true if the specified lhs has a greater value than the specified rhs and false otherwise. The value of a Decimal64 object lhs is greater than that of an object rhs if the compareQuietGreater operation (IEEE‐754 defined, non‐total ordering comparison) considers the underlying IEEE representation of lhs to be greater than of that of rhs. In other words, lhs is greater than rhs if:
Return true if the specified lhs has a greater value than the specified rhs and false otherwise. The value of a decimal object lhs is greater than that of an object rhs if the compareQuietGreater operation (IEEE‐754 defined, non‐total ordering comparison) considers the underlying IEEE representation of lhs to be greater than of that of rhs. In other words, lhs is greater than rhs if:
Decimal arithmetic/comparison operation: bool operator>.
Return true if the specified lhs has a greater value than the specified rhs and false otherwise. The value of a Decimal128 object lhs is greater than that of an object rhs if the compareQuietGreater operation (IEEE‐754 defined, non‐total ordering comparison) considers the underlying IEEE representation of lhs to be greater than of that of rhs. In other words, lhs is greater than rhs if:
bool
operator>(
Decimal128 lhs,
Decimal128 rhs);
Return true if the specified lhs has a greater value than the specified rhs and false otherwise. The value of a decimal object lhs is greater than that of an object rhs if the compareQuietGreater operation (IEEE‐754 defined, non‐total ordering comparison) considers the underlying IEEE representation of lhs to be greater than of that of rhs. In other words, lhs is greater than rhs if:
bool
operator>(
Decimal32 lhs,
Decimal128 rhs);
Decimal arithmetic/comparison operation: bool operator>.
bool
operator>(
Decimal128 lhs,
Decimal32 rhs);
Decimal arithmetic/comparison operation: bool operator>.
bool
operator>(
Decimal64 lhs,
Decimal128 rhs);
Decimal arithmetic/comparison operation: bool operator>.
bool
operator>(
Decimal128 lhs,
Decimal64 rhs);
Created with MrDocs