◆
operator+=()
Adds another integer to the first operand.
-
参数
-
[in]
|
b
|
The second summand.
|
-
返回
-
The result of this + b.
◆
operator-=()
Subtracts a value from this BigIntegers.
-
参数
-
-
返回
-
The result of this - b.
◆
operator++()
[1/2]
The prefix operator to increment this
BigInteger
.
-
返回
-
The result of this + 1.
◆
operator++()
[2/2]
The postfix operator to increment this
BigInteger
.
-
返回
-
The result of this + 1.
◆
operator--()
[1/2]
The prefix operator to decrement this
BigInteger
.
-
返回
-
The result of this - 1.
◆
operator--()
[2/2]
The postfix operator to decrement this
BigInteger
.
-
返回
-
The result of this - 1.
◆
operator*=()
Multiplies another integer to the first operand.
-
参数
-
[in]
|
b
|
The second factor.
|
-
返回
-
The result of this * b.
◆
operator/=()
Divides this by another
BigInteger
.
-
参数
-
[in]
|
b
|
The divisor. If the divisor is 0, the result will be 0.
|
-
返回
-
The result of a / b.
◆
operator%=()
Calculates the modulus of two
BigInteger
值。
-
参数
-
[in]
|
b
|
The divisor. If the divisor is 0, the result will be 0.
|
-
返回
-
The result of this % b.
◆
operator<<=()
Shifts this
BigInteger
left by the specified number of bits.
-
参数
-
[in]
|
s
|
The number of bits to left-shift the value. If this is negative, the value is shifted right.
|
-
返回
-
The result of this << s.
◆
operator>>=()
Shifts this
BigInteger
right by the specified number of bits.
-
参数
-
[in]
|
s
|
The number of bits to right-shift the value. If this is negative, the value is shifted left.
|
-
返回
-
The result of this >> s.
Friends And Related Function Documentation
◆
operator+
Adds two BigIntegers.
-
参数
-
[in]
|
a
|
The fist summand.
|
[in]
|
b
|
The second summand.
|
-
返回
-
The result of a + b.
◆
operator-
[1/2]
Subtracts two BigIntegers.
-
参数
-
[in]
|
a
|
The minuend.
|
[in]
|
b
|
The subtrahend.
|
-
返回
-
The result of a - b.
◆
operator-
[2/2]
Subtracts two BigIntegers.
-
参数
-
-
返回
-
The result of this - b.
◆
operator*
Multiplies two BigIntegers.
-
参数
-
[in]
|
a
|
The fist factor.
|
[in]
|
b
|
The second factor.
|
-
返回
-
The result of a * b.
◆
operator/
Divides two BigIntegers.
-
参数
-
[in]
|
a
|
The dividend.
|
[in]
|
b
|
The divisor. If the divisor is 0, the result will be 0.
|
-
返回
-
The result of a / b.
◆
operator%
Calculates the modulus of two
BigInteger
值。
-
参数
-
[in]
|
a
|
The dividend.
|
[in]
|
b
|
The divisor. If the divisor is 0, the result will be 0.
|
-
返回
-
The result of a % b.
◆
operator<<
Shifts a
BigInteger
left by the specified number of bits.
-
参数
-
[in]
|
a
|
The source operand.
|
[in]
|
s
|
The number of bits to left-shift the value. If this is negative, the value is shifted right.
|
-
返回
-
The result of a << s.
◆
operator>>
Shifts a
BigInteger
right by the specified number of bits.
-
参数
-
[in]
|
a
|
The source operand.
|
[in]
|
s
|
The number of bits to right-shift the value. If this is negative, the value is shifted left.
|
-
返回
-
The result of a >> s.