BloombergLP::bdldfp::operator-

Unary minus operators

Synopses

Declared in <bdldfp_decimal.h>

Return the result of applying the unary - operator to the specified value as described by IEEE-754. Note that floating-point numbers have signed zero, therefore this operation is not the same as 0-value.

bdldfp::Decimal128
operator-(Decimal128 value);
» more...

Return the result of applying the unary - operator to the specified value as described by IEEE-754, essentially reversing the sign bit. Note that floating-point numbers have signed zero, so this operation is not the same as 0 - value.

bdldfp::Decimal32
operator-(Decimal32 value);
» more...

Return the result of applying the unary - operator to the specified value as described by IEEE-754. Note that floating-point numbers have signed zero, therefore this operation is not the same as 0-value.

bdldfp::Decimal64
operator-(Decimal64 value);
» more...

Subtract the value of the specified rhs from the value of the specified lhs as described by IEEE-754 and return the result.

bdldfp::Decimal128
operator-(
    Decimal128 lhs,
    Decimal128 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal128 operator-.

bdldfp::Decimal128
operator-(
    Decimal128 lhs,
    Decimal32 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal128 operator-.

bdldfp::Decimal128
operator-(
    Decimal128 lhs,
    Decimal64 rhs);
» more...

Subtract the specified rhs from the value of the specified lhs as described by IEEE-754 and return a reference to this object.

bdldfp::Decimal128
operator-(
    Decimal128 lhs,
    int rhs);
» more...

Decimal arithmetic/comparison operation: Decimal128 operator-.

bdldfp::Decimal128
operator-(
    Decimal128 lhs,
    long rhs);
» more...

Decimal arithmetic/comparison operation: Decimal128 operator-.

bdldfp::Decimal128
operator-(
    Decimal128 lhs,
    long long rhs);
» more...

Decimal arithmetic/comparison operation: Decimal128 operator-.

bdldfp::Decimal128
operator-(
    Decimal128 lhs,
    unsigned int rhs);
» more...

Decimal arithmetic/comparison operation: Decimal128 operator-.

bdldfp::Decimal128
operator-(
    Decimal128 lhs,
    unsigned long rhs);
» more...

Decimal arithmetic/comparison operation: Decimal128 operator-.

bdldfp::Decimal128
operator-(
    Decimal128 lhs,
    unsigned long long rhs);
» more...

Decimal arithmetic/comparison operation: Decimal128 operator-.

bdldfp::Decimal128
operator-(
    Decimal32 lhs,
    Decimal128 rhs);
» more...

Subtract the value of the specified rhs from the value of the specified lhs as described by IEEE-754 and return the result.

bdldfp::Decimal32
operator-(
    Decimal32 lhs,
    Decimal32 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal64 operator-.

bdldfp::Decimal64
operator-(
    Decimal32 lhs,
    Decimal64 rhs);
» more...

Subtract the specified rhs from the value of the specified lhs as described by IEEE-754 and return a reference to this object.

bdldfp::Decimal32
operator-(
    Decimal32 lhs,
    int rhs);
» more...

Decimal arithmetic/comparison operation: Decimal32 operator-.

bdldfp::Decimal32
operator-(
    Decimal32 lhs,
    long rhs);
» more...

Decimal arithmetic/comparison operation: Decimal32 operator-.

bdldfp::Decimal32
operator-(
    Decimal32 lhs,
    long long rhs);
» more...

Decimal arithmetic/comparison operation: Decimal32 operator-.

bdldfp::Decimal32
operator-(
    Decimal32 lhs,
    unsigned int rhs);
» more...

Decimal arithmetic/comparison operation: Decimal32 operator-.

bdldfp::Decimal32
operator-(
    Decimal32 lhs,
    unsigned long rhs);
» more...

Decimal arithmetic/comparison operation: Decimal32 operator-.

bdldfp::Decimal32
operator-(
    Decimal32 lhs,
    unsigned long long rhs);
» more...

Decimal arithmetic/comparison operation: Decimal128 operator-.

bdldfp::Decimal128
operator-(
    Decimal64 lhs,
    Decimal128 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal64 operator-.

bdldfp::Decimal64
operator-(
    Decimal64 lhs,
    Decimal32 rhs);
» more...

Subtract the value of the specified rhs from the value of the specified lhs as described by IEEE-754 and return the result.

bdldfp::Decimal64
operator-(
    Decimal64 lhs,
    Decimal64 rhs);
» more...

Subtract the specified rhs from the value of the specified lhs as described by IEEE-754 and return a reference to this object.

bdldfp::Decimal64
operator-(
    Decimal64 lhs,
    int rhs);
» more...

Decimal arithmetic/comparison operation: Decimal64 operator-.

bdldfp::Decimal64
operator-(
    Decimal64 lhs,
    long rhs);
» more...

Decimal arithmetic/comparison operation: Decimal64 operator-.

bdldfp::Decimal64
operator-(
    Decimal64 lhs,
    long long rhs);
» more...

Decimal arithmetic/comparison operation: Decimal64 operator-.

bdldfp::Decimal64
operator-(
    Decimal64 lhs,
    unsigned int rhs);
» more...

Decimal arithmetic/comparison operation: Decimal64 operator-.

bdldfp::Decimal64
operator-(
    Decimal64 lhs,
    unsigned long rhs);
» more...

Decimal arithmetic/comparison operation: Decimal64 operator-.

bdldfp::Decimal64
operator-(
    Decimal64 lhs,
    unsigned long long rhs);
» more...

Subtract the specified rhs from the value of the specified lhs as described by IEEE-754 and return a reference to this object.

bdldfp::Decimal128
operator-(
    int lhs,
    Decimal128 rhs);
» more...

Subtract the specified rhs from the value of the specified lhs as described by IEEE-754 and return a reference to this object.

bdldfp::Decimal32
operator-(
    int lhs,
    Decimal32 rhs);
» more...

Subtract the specified rhs from the value of the specified lhs as described by IEEE-754 and return a reference to this object.

bdldfp::Decimal64
operator-(
    int lhs,
    Decimal64 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal128 operator-.

bdldfp::Decimal128
operator-(
    long lhs,
    Decimal128 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal32 operator-.

bdldfp::Decimal32
operator-(
    long lhs,
    Decimal32 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal64 operator-.

bdldfp::Decimal64
operator-(
    long lhs,
    Decimal64 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal128 operator-.

bdldfp::Decimal128
operator-(
    long long lhs,
    Decimal128 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal32 operator-.

bdldfp::Decimal32
operator-(
    long long lhs,
    Decimal32 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal64 operator-.

bdldfp::Decimal64
operator-(
    long long lhs,
    Decimal64 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal128 operator-.

bdldfp::Decimal128
operator-(
    unsigned int lhs,
    Decimal128 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal32 operator-.

bdldfp::Decimal32
operator-(
    unsigned int lhs,
    Decimal32 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal64 operator-.

bdldfp::Decimal64
operator-(
    unsigned int lhs,
    Decimal64 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal128 operator-.

bdldfp::Decimal128
operator-(
    unsigned long lhs,
    Decimal128 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal32 operator-.

bdldfp::Decimal32
operator-(
    unsigned long lhs,
    Decimal32 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal64 operator-.

bdldfp::Decimal64
operator-(
    unsigned long lhs,
    Decimal64 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal128 operator-.

bdldfp::Decimal128
operator-(
    unsigned long long lhs,
    Decimal128 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal32 operator-.

bdldfp::Decimal32
operator-(
    unsigned long long lhs,
    Decimal32 rhs);
» more...

Decimal arithmetic/comparison operation: Decimal64 operator-.

bdldfp::Decimal64
operator-(
    unsigned long long lhs,
    Decimal64 rhs);
» more...