Michael Mclaughlin
1bcf067429
v10.3.1
2021-06-25 12:55:36 +01:00
Michael Mclaughlin
220f11c498
v10.3.0
2021-06-22 19:20:14 +01:00
Michael Mclaughlin
c29c80c6e3
Support underscores as separators
2021-06-22 13:22:53 +01:00
Michael Mclaughlin
d102ead7af
#101 Add clamp method
2021-06-22 12:15:13 +01:00
Michael Mclaughlin
ac0711318f
#161 Fix Decimal instances deemed plain objects
2021-06-22 10:53:21 +01:00
Michael Mclaughlin
66a21ee9d1
#100 Add Decimal.sum method
2021-06-22 10:13:28 +01:00
Michael Mclaughlin
0e0dcaec27
#146 Symbol.for to Symbol['for']
2021-06-21 18:31:41 +01:00
Michael Mclaughlin
04c6c6f115
#132 Fix possible infinite loop when minE is very low
2021-06-21 18:17:53 +01:00
Michal Grno
498327d8d4
Decimal(v) now works even if v is from a different instance of Decimal
2021-06-09 16:19:34 +02:00
Michael Mclaughlin
be7d6b05ab
v10.2.1
2020-09-28 22:28:15 +01:00
Michael Mclaughlin
e70384ea7e
Correct sqrt initial estimate
2020-09-28 21:58:18 +01:00
Michael Mclaughlin
3f9eeb0897
#128 Accept +
prefix
2019-05-08 17:05:12 +01:00
Michael Mclaughlin
f468de8e79
#128 Add tinyPow to workaround V8 Math.pow change
2019-05-08 16:16:42 +01:00
Michael Mclaughlin
b041339e2a
v10.1.1
2019-02-27 10:10:12 +00:00
Michael Mclaughlin
8262235084
Check Symbol properly
2019-02-27 10:06:46 +00:00
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.
2019-02-26 23:27:35 +00:00
Adrian Hara
bc2979c96a
Added custom util.inspect() function that just prints out the "toString()" result of the decimal.
2019-02-25 17:06:47 +01:00
Michael Mclaughlin
9106f0a010
v10.0.2
2018-12-13 18:29:06 +00:00
Michael Mclaughlin
bf504624f8
v10.0.1
2018-05-24 16:45:53 +01:00
Michael Mclaughlin
903b98877d
Avoid Content Security Policy unsafe-eval issue
2018-04-26 17:54:17 +01:00
Michael Mclaughlin
6016146ef7
#88 Update doc and .mjs after toNearest change
2018-03-10 19:43:59 +00:00
Lucia Velasco
caed629d5a
Code Review Changes: Updates test file and void check
...
Also removes superfluous line that the tests now cater for.
2018-03-05 09:10:46 +00:00
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.
2018-03-02 22:07:56 +00:00
Michael Mclaughlin
875f6d0f7a
v9.0.1
2017-12-15 10:38:51 +00:00
Michael Mclaughlin
dbba3d5b18
v9.0.0
2017-12-14 10:30:42 +00:00
Michael Mclaughlin
dbf681be4a
v8.0.0
2017-12-10 18:32:38 +00:00
Michael Mclaughlin
fd668fea70
Add Decimal.isDecimal and config reset
2017-12-09 22:05:28 +00:00
Michael Mclaughlin
1cbf5ffb44
v7.5.1
2017-12-03 22:21:41 +00:00
Michael Mclaughlin
35a8cddde9
v7.5.0
2017-12-03 18:09:41 +00:00
Michael Mclaughlin
a0b78b6275
v7.4.0
2017-11-25 23:45:15 +00:00
Michael Mclaughlin
433759294a
v7.3.0
2017-09-26 18:23:56 +01:00
Michael Mclaughlin
2ed8a040c7
v7.2.4
2017-09-09 18:53:23 +01:00
Michael Mclaughlin
9ae7ca7088
Fix import issues
2017-09-09 18:50:00 +01:00
Michael Mclaughlin
22ac9377c6
Bugfix: #58 pow sometimes throws when result is Infinity
2017-06-27 22:07:37 +01:00
Michael Mclaughlin
32f0a63095
v7.2.2
2017-06-25 23:39:53 +01:00
Michael Mclaughlin
4d05267ba8
Bugfix: #57 Powers of -1 for integers over Number.MAX_SAFE_INTEGER
2017-06-25 23:35:15 +01:00
Michael Mclaughlin
3566299686
v7.2.1
2017-05-04 20:12:26 +01:00
Michael Mclaughlin
2be14dfdd7
v7.2.0 Add decimal.es6.js
2017-04-09 23:07:52 +01:00
Michael Mclaughlin
85a499eb86
v7.1.2
2017-04-05 19:03:17 +01:00
Michael Mclaughlin
eec7273c19
Decimal.default to Decimal['default'] IE8 issue
2017-04-05 18:59:11 +01:00
Michael Mclaughlin
45eec0b863
v7.1.1
2017-01-10 19:34:40 +00:00
Michael Mclaughlin
27de48c4c3
Remove duplicated for-loop. Minor refactoring.
2017-01-10 19:19:28 +00:00
Michael Mclaughlin
148be72e6f
v7.1.0
2016-11-10 00:08:25 +00:00
Michael Mclaughlin
4df9158a1a
Support ES6 imports
2016-11-09 23:41:31 +00:00
Michael Mclaughlin
46b1aad320
Remove crypto require. Add set as config alias.
2016-11-09 17:01:36 +00:00
Michael Mclaughlin
fb37ca6bde
v6.0.0
2016-06-30 19:27:50 +01:00
Michael Mclaughlin
8a631cc327
v5.0.8
2016-03-09 22:57:25 +00:00
Michael Mclaughlin
6785556026
v5.0.7
2016-02-29 19:25:04 +00:00
Michael Mclaughlin
6a663287f0
v5.0.6
2016-02-22 19:51:10 +00:00
Michael Mclaughlin
6effe2db27
v5.0.5
2016-02-20 22:21:48 +00:00