Michael Mclaughlin
1bcf067429
v10.3.1
3 years ago
Michael Mclaughlin
220f11c498
v10.3.0
3 years ago
Michael Mclaughlin
c29c80c6e3
Support underscores as separators
3 years ago
Michael Mclaughlin
d102ead7af
#101 Add clamp method
3 years ago
Michael Mclaughlin
ac0711318f
#161 Fix Decimal instances deemed plain objects
3 years ago
Michael Mclaughlin
66a21ee9d1
#100 Add Decimal.sum method
3 years ago
Michael Mclaughlin
0e0dcaec27
#146 Symbol.for to Symbol['for']
3 years ago
Michael Mclaughlin
04c6c6f115
#132 Fix possible infinite loop when minE is very low
3 years ago
Michal Grno
498327d8d4
Decimal(v) now works even if v is from a different instance of Decimal
3 years ago
Michael Mclaughlin
be7d6b05ab
v10.2.1
4 years ago
Michael Mclaughlin
e70384ea7e
Correct sqrt initial estimate
4 years ago
Michael Mclaughlin
3f9eeb0897
#128 Accept `+` prefix
5 years ago
Michael Mclaughlin
f468de8e79
#128 Add tinyPow to workaround V8 Math.pow change
5 years ago
Michael Mclaughlin
b041339e2a
v10.1.1
6 years ago
Michael Mclaughlin
8262235084
Check Symbol properly
6 years ago
Michael Mclaughlin
7818dff1ca
v10.1.0
...
#122 Add custom `util.inspect()` function.
Add `Symbol.toStringTag`.
#121 Constructor: add range check for arguments of type number and Decimal.
Remove premable from uglifyjs build script.
Move *decimal.min.js.map* to root directory.
6 years ago
Adrian Hara
bc2979c96a
Added custom util.inspect() function that just prints out the "toString()" result of the decimal.
6 years ago
Michael Mclaughlin
9106f0a010
v10.0.2
6 years ago
Michael Mclaughlin
bf504624f8
v10.0.1
6 years ago
Michael Mclaughlin
903b98877d
Avoid Content Security Policy unsafe-eval issue
6 years ago
Michael Mclaughlin
6016146ef7
#88 Update doc and .mjs after toNearest change
7 years ago
Lucia Velasco
caed629d5a
Code Review Changes: Updates test file and void check
...
Also removes superfluous line that the tests now cater for.
7 years ago
Lucia Velasco
4949869b5e
Allows round up and round ceil to work in the toNearest function.
...
This makes the new tests in the previous commit work.
A value of less than half of the first parameter of toNearest will now round up to the nearest multiplication of that first parameter.
7 years ago
Michael Mclaughlin
875f6d0f7a
v9.0.1
7 years ago
Michael Mclaughlin
dbba3d5b18
v9.0.0
7 years ago
Michael Mclaughlin
dbf681be4a
v8.0.0
7 years ago
Michael Mclaughlin
fd668fea70
Add Decimal.isDecimal and config reset
7 years ago
Michael Mclaughlin
1cbf5ffb44
v7.5.1
7 years ago
Michael Mclaughlin
35a8cddde9
v7.5.0
7 years ago
Michael Mclaughlin
a0b78b6275
v7.4.0
7 years ago
Michael Mclaughlin
433759294a
v7.3.0
7 years ago
Michael Mclaughlin
2ed8a040c7
v7.2.4
7 years ago
Michael Mclaughlin
9ae7ca7088
Fix import issues
7 years ago
Michael Mclaughlin
22ac9377c6
Bugfix: #58 pow sometimes throws when result is Infinity
7 years ago
Michael Mclaughlin
32f0a63095
v7.2.2
7 years ago
Michael Mclaughlin
4d05267ba8
Bugfix: #57 Powers of -1 for integers over Number.MAX_SAFE_INTEGER
7 years ago
Michael Mclaughlin
3566299686
v7.2.1
7 years ago
Michael Mclaughlin
2be14dfdd7
v7.2.0 Add decimal.es6.js
8 years ago
Michael Mclaughlin
85a499eb86
v7.1.2
8 years ago
Michael Mclaughlin
eec7273c19
Decimal.default to Decimal['default'] IE8 issue
8 years ago
Michael Mclaughlin
45eec0b863
v7.1.1
8 years ago
Michael Mclaughlin
27de48c4c3
Remove duplicated for-loop. Minor refactoring.
8 years ago
Michael Mclaughlin
148be72e6f
v7.1.0
8 years ago
Michael Mclaughlin
4df9158a1a
Support ES6 imports
8 years ago
Michael Mclaughlin
46b1aad320
Remove crypto require. Add set as config alias.
8 years ago
Michael Mclaughlin
fb37ca6bde
v6.0.0
8 years ago
Michael Mclaughlin
8a631cc327
v5.0.8
9 years ago
Michael Mclaughlin
6785556026
v5.0.7
9 years ago
Michael Mclaughlin
6a663287f0
v5.0.6
9 years ago
Michael Mclaughlin
6effe2db27
v5.0.5
9 years ago