BloombergLP::bdldfp::operator<

Less-than operators

Synopses

Declared in <bdldfp_decimal.h>

Return true if the specified lhs has a value less than the specified rhs and false otherwise.

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

Return true if the specified lhs has a value less than the specified rhs and false otherwise.

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

Return true if the specified lhs has a value less than the specified rhs and false otherwise.

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

Return true if lhs is less than rhs.

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

Return true if the specified lhs has a value less than the specified rhs and false otherwise.

bool
operator<(
    Decimal128 lhs,
    Decimal128 rhs);
» more...

Return true if the specified lhs has a value less than the specified rhs and false otherwise.

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

Return true if lhs is less than rhs.

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

Return true if lhs is less than rhs.

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

Return true if lhs is less than rhs.

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

Return Value

  • true if the specified lhs has a value less than the specified rhs and false otherwise
  • true if lhs is less than rhs

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand