@yaffle/bigdecimal
Advanced tools
Comparing version 1.0.27 to 1.0.28
@@ -412,3 +412,3 @@ /*jslint bigint: true, vars: true, indent: 2*/ | ||
} | ||
if (BASE !== 2) { | ||
if (BASE !== 2 || d >= 9007199254740992 || d <= -9007199254740992) { | ||
const x = sum(bd, (digits(as) - digits(bs))); | ||
@@ -415,0 +415,0 @@ const differenceOfLogarithms = typeof x === 'number' ? x : Number(BigInt(x)); |
{ | ||
"name": "@yaffle/bigdecimal", | ||
"version": "1.0.27", | ||
"version": "1.0.28", | ||
"description": "Arbitrary precision decimal arithmetic library. Polyfill for decimal proposal. Implemented on the top of BigInt.", | ||
@@ -5,0 +5,0 @@ "main": "BigDecimal.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
45675