mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2024-10-27 20:34:12 +00:00
Fully tested NOT, all that is left are the shifts.
This commit is contained in:
parent
b9287583e6
commit
65eb4aae51
@ -844,7 +844,7 @@
|
|||||||
external = false;
|
external = false;
|
||||||
Decimal['precision'] = MAX_DIGITS;
|
Decimal['precision'] = MAX_DIGITS;
|
||||||
|
|
||||||
var x = this['plus'](Decimal['ONE']);
|
var x = this['trunc']()['plus'](Decimal['ONE']);
|
||||||
x['s'] = -x['s'] || null;
|
x['s'] = -x['s'] || null;
|
||||||
|
|
||||||
Decimal['precision'] = prevPrec;
|
Decimal['precision'] = prevPrec;
|
||||||
|
100128
test/not.js
Normal file
100128
test/not.js
Normal file
File diff suppressed because it is too large
Load Diff
@ -272,6 +272,8 @@ while i < 200000:
|
|||||||
|
|
||||||
if x > biggest:
|
if x > biggest:
|
||||||
biggest = x
|
biggest = x
|
||||||
|
if y > biggest:
|
||||||
|
biggest = y
|
||||||
|
|
||||||
if i % 100 == 0:
|
if i % 100 == 0:
|
||||||
print(i)
|
print(i)
|
||||||
|
Loading…
Reference in New Issue
Block a user