big-integer
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "big-integer", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"author": "Peter Olson <peter.e.c.olson+npm@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "An arbitrary length integer library for Javascript", |
@@ -37,2 +37,8 @@ BigInteger.js | ||
Method Chaining | ||
--- | ||
Note that bigInt operations return bigInts, which allows you to chain methods, for example: | ||
var salary = bigInt(dollarsPerHour).times(hoursWorked).plus(randomBonuses) | ||
Constants | ||
@@ -115,3 +121,3 @@ --- | ||
`isEven(number)` | ||
`isEven(number)` | ||
--- | ||
@@ -123,3 +129,3 @@ Returns `true` if the number is even, `false` otherwise. | ||
`isNegative(number)` | ||
`isNegative(number)` | ||
--- | ||
@@ -132,3 +138,3 @@ Returns `true` if the number is negative, `false` otherwise. | ||
`isOdd(number)` | ||
`isOdd(number)` | ||
--- | ||
@@ -140,3 +146,3 @@ Returns `true` if the number is odd, `false` otherwise. | ||
`isPositive(number)` | ||
`isPositive(number)` | ||
--- | ||
@@ -143,0 +149,0 @@ Return `true` if the number is positive, `false` otherwise. |
36477
253