Merge pull request #74 from rex4539/fix-typos

Fix typos
pull/75/head
Paul Shapiro 6 years ago committed by GitHub
commit 4cf258340b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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:
@ -1633,4 +1633,4 @@ BigInteger.MAX_EXP = MAX_EXP;
})();
exports.BigInteger = BigInteger;
})(typeof exports !== 'undefined' ? exports : this);
})(typeof exports !== 'undefined' ? exports : this);

Loading…
Cancel
Save