BloombergLP::bdldfp::operator>

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 rhsif:

bool
operator>(
    Decimal32 lhs,
    Decimal32 rhs);
» more...

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:

bool
operator>(
    Decimal64 lhs,
    Decimal64 rhs);
» more...

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,
    Decimal64 rhs);
» more...

Decimal arithmetic/comparison operation: bool operator>.

bool
operator>(
    Decimal64 lhs,
    Decimal32 rhs);
» more...

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);
» more...

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);
» 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...