|
|
|
@ -498,7 +498,7 @@ BigInteger.prototype.add = function(n) {
|
|
|
|
|
|
|
|
|
|
Returns:
|
|
|
|
|
|
|
|
|
|
A <BigInteger> with the same magnatude, but with the opposite sign.
|
|
|
|
|
A <BigInteger> with the same magnitude, but with the opposite sign.
|
|
|
|
|
|
|
|
|
|
See Also:
|
|
|
|
|
|
|
|
|
@ -514,7 +514,7 @@ BigInteger.prototype.negate = function() {
|
|
|
|
|
|
|
|
|
|
Returns:
|
|
|
|
|
|
|
|
|
|
A <BigInteger> with the same magnatude, but always positive (or zero).
|
|
|
|
|
A <BigInteger> with the same magnitude, but always positive (or zero).
|
|
|
|
|
|
|
|
|
|
See Also:
|
|
|
|
|
|
|
|
|
@ -943,7 +943,7 @@ BigInteger.prototype.multiplySingleDigit = function(n) {
|
|
|
|
|
Multiply a <BigInteger> by itself.
|
|
|
|
|
|
|
|
|
|
This is slightly faster than regular multiplication, since it removes the
|
|
|
|
|
duplicated multiplcations.
|
|
|
|
|
duplicated multiplications.
|
|
|
|
|
|
|
|
|
|
Returns:
|
|
|
|
|
|
|
|
|
@ -1347,7 +1347,7 @@ BigInteger.prototype.isZero = function() {
|
|
|
|
|
Parameters:
|
|
|
|
|
|
|
|
|
|
n - The power of 10 to multiply *this* by. *n* is converted to a
|
|
|
|
|
javascipt number and must be no greater than <BigInteger.MAX_EXP>
|
|
|
|
|
javascript number and must be no greater than <BigInteger.MAX_EXP>
|
|
|
|
|
(0x7FFFFFFF), or an exception will be thrown.
|
|
|
|
|
|
|
|
|
|
Returns:
|
|
|
|
|