mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2026-09-24 12:54:47 +00:00
Fix for issue #20
This commit is contained in:
@@ -3875,6 +3875,7 @@
|
||||
pi = getPi(Ctor, Ctor.precision, 1),
|
||||
halfPi = pi.times(HALF);
|
||||
|
||||
x = Ctor(x);
|
||||
x.s = 1;
|
||||
|
||||
if (x.lte(halfPi)) {
|
||||
|
||||
Reference in New Issue
Block a user