CB-12697 Updated checked-in node_modules

This commit is contained in:
Steve Gill
2017-04-24 21:56:28 -07:00
parent e13e15d3e9
commit cadea2f6c3
12 changed files with 101 additions and 52 deletions
+7
View File
@@ -421,6 +421,13 @@ Performs the bitwise XOR operation. The operands are treated as if they were rep
### Static Methods
#### `fromArray(digits, base = 10, isNegative?)`
Constructs a bigInt from an array of digits in base `base`. The optional `isNegative` flag will make the number negative.
- `bigInt.fromArray([1, 2, 3, 4, 5], 10)` => `12345`
- `bigInt.fromArray([1, 0, 0], 2, true)` => `-4`
#### `gcd(a, b)`
Finds the greatest common denominator of `a` and `b`.