@bignum/core
Advanced tools
Comparing version 0.10.0 to 0.10.1
@@ -186,3 +186,3 @@ // src/nth-root-utils.mts | ||
if (!n.abs().compareTo(ONE)) | ||
return this; | ||
return this.pow(n); | ||
if (!n.n) | ||
@@ -516,3 +516,3 @@ return this.pow(INF); | ||
return null; | ||
if (Number.isInteger(value)) | ||
if (Number.isSafeInteger(value)) | ||
return { intValue: BigInt(value) }; | ||
@@ -519,0 +519,0 @@ } |
{ | ||
"name": "@bignum/core", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"description": "Arbitrary-precision decimal arithmetic with BigInt.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
50420