@navpreetdevpuri/base-2-n
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -87,3 +87,3 @@ var Base2N = /** @class */ (function () { | ||
var curr = (this.digits[i] >> 1) | (carry << 15); | ||
carry = curr & 1; | ||
carry = this.digits[i] & 1; | ||
result[i] = curr; | ||
@@ -90,0 +90,0 @@ } |
{ | ||
"name": "@navpreetdevpuri/base-2-n", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "To work with base 2^n numbers", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -108,3 +108,3 @@ class Base2N { | ||
const curr = (this.digits[i] >> 1) | (carry << 15); | ||
carry = curr & 1; | ||
carry = this.digits[i] & 1; | ||
result[i] = curr; | ||
@@ -111,0 +111,0 @@ } |
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
12498