Division operators
Synopses
Declared in <bdldfp_decimal.h>
Divide the value of the specified lhs by the value of the specified rhs as described by IEEE‐754, and return the result.
bdldfp::Decimal128
operator/(
Decimal128 lhs,
Decimal128 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal128
operator/(
Decimal128 lhs,
Decimal32 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal128
operator/(
Decimal128 lhs,
Decimal64 rhs);
Divide the value of the specified lhs by the specified rhs as described by IEEE‐754, and return the result.
bdldfp::Decimal128
operator/(
Decimal128 lhs,
int rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal128
operator/(
Decimal128 lhs,
long rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal128
operator/(
Decimal128 lhs,
long long rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal128
operator/(
Decimal128 lhs,
unsigned int rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal128
operator/(
Decimal128 lhs,
unsigned long rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal128
operator/(
Decimal128 lhs,
unsigned long long rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal128
operator/(
Decimal32 lhs,
Decimal128 rhs);
Divide the value of the specified lhs by the value of the specified rhs as described by IEEE‐754, and return the result.
bdldfp::Decimal32
operator/(
Decimal32 lhs,
Decimal32 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal64
operator/(
Decimal32 lhs,
Decimal64 rhs);
Divide the value of the specified lhs by the specified rhs as described by IEEE‐754, and return the result.
bdldfp::Decimal32
operator/(
Decimal32 lhs,
int rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal32
operator/(
Decimal32 lhs,
long rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal32
operator/(
Decimal32 lhs,
long long rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal32
operator/(
Decimal32 lhs,
unsigned int rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal32
operator/(
Decimal32 lhs,
unsigned long rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal32
operator/(
Decimal32 lhs,
unsigned long long rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal128
operator/(
Decimal64 lhs,
Decimal128 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal64
operator/(
Decimal64 lhs,
Decimal32 rhs);
Divide the value of the specified lhs by the value of the specified rhs as described by IEEE‐754, and return the result.
bdldfp::Decimal64
operator/(
Decimal64 lhs,
Decimal64 rhs);
Divide the value of the specified lhs by the specified rhs as described by IEEE‐754, and return the result.
bdldfp::Decimal64
operator/(
Decimal64 lhs,
int rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal64
operator/(
Decimal64 lhs,
long rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal64
operator/(
Decimal64 lhs,
long long rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal64
operator/(
Decimal64 lhs,
unsigned int rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal64
operator/(
Decimal64 lhs,
unsigned long rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal64
operator/(
Decimal64 lhs,
unsigned long long rhs);
Divide the specified lhs by the value of the specified rhs as described by IEEE‐754, and return the result.
bdldfp::Decimal128
operator/(
int lhs,
Decimal128 rhs);
Divide the specified lhs by the value of the specified rhs as described by IEEE‐754, and return the result.
bdldfp::Decimal32
operator/(
int lhs,
Decimal32 rhs);
Divide the specified lhs by the value of the specified rhs as described by IEEE‐754, and return the result.
bdldfp::Decimal64
operator/(
int lhs,
Decimal64 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal128
operator/(
long lhs,
Decimal128 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal32
operator/(
long lhs,
Decimal32 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal64
operator/(
long lhs,
Decimal64 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal128
operator/(
long long lhs,
Decimal128 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal32
operator/(
long long lhs,
Decimal32 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal64
operator/(
long long lhs,
Decimal64 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal128
operator/(
unsigned int lhs,
Decimal128 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal32
operator/(
unsigned int lhs,
Decimal32 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal64
operator/(
unsigned int lhs,
Decimal64 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal128
operator/(
unsigned long lhs,
Decimal128 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal32
operator/(
unsigned long lhs,
Decimal32 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal64
operator/(
unsigned long lhs,
Decimal64 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal128
operator/(
unsigned long long lhs,
Decimal128 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal32
operator/(
unsigned long long lhs,
Decimal32 rhs);
Return the quotient of the specified lhs divided by rhs.
bdldfp::Decimal64
operator/(
unsigned long long lhs,
Decimal64 rhs);
Return Value
-
quotient of the operands
-
quotient of the specified
lhsdivided byrhs
Parameters
Name |
Description |
lhs |
left‐hand operand |
rhs |
right‐hand operand |
Created with MrDocs