Comparing version 1.1.0 to 1.1.1
@@ -829,5 +829,8 @@ // Utils | ||
var w = this.words[i] * num; | ||
var lo = (w & 0x3ffffff) + carry; | ||
carry = (w / 0x4000000) | 0; | ||
this.words[i] = lo; | ||
var lo = (w & 0x3ffffff) + (carry & 0x3ffffff); | ||
carry >>= 26; | ||
carry += (w / 0x4000000) | 0; | ||
// NOTE: lo is 27bit maximum | ||
carry += lo >>> 26; | ||
this.words[i] = lo & 0x3ffffff; | ||
} | ||
@@ -834,0 +837,0 @@ |
{ | ||
"name": "bn.js", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Big number implementation in pure javascript", | ||
@@ -5,0 +5,0 @@ "main": "lib/bn.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83458
10
2477