Michael M
31ebcc8250
Merge pull request #198 from dmarkow/master
...
Use type predicate on isDecimal
2022-04-08 17:15:43 +01:00
Dylan Markow
a699f6b256
Use type predicate on isDecimal
2022-04-08 08:38:17 -05:00
Michael Mclaughlin
1bcf067429
v10.3.1
2021-06-25 12:55:36 +01:00
Michael Mclaughlin
00d5e300d7
Remove minified. Refresh README
2021-06-25 12:46:39 +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
69e91fecd2
Update definitions with sum and clamp
2021-06-22 12:50:27 +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
Michael M
6e5a599fcc
Merge pull request #180 from m93a/patch-isdecimal
...
Make the constructor accept different instances of Decimal
2021-06-09 18:43:39 +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 M
6545e24c24
Merge pull request #169 from 2color/patch-1
...
Use https in links
2021-02-16 17:26:58 +00:00
Daniel Norman
26b348f383
Use https in links
2021-02-16 13:37:43 +01: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 M
11699c1d1c
Merge pull request #149 from Mazuh/patch-2
...
update api docs to warn about isNegative pitfall
2020-05-26 20:39:41 +01:00
Michael M
023981df23
Merge pull request #150 from MikeMcl/revert-148-patch-1
...
Revert "advice about negative zeroes on README"
2020-05-26 20:39:20 +01:00
Michael M
24726f5950
Revert "advice about negative zeroes on README"
2020-05-26 20:39:05 +01:00
Michael M
b53a593401
Merge pull request #148 from Mazuh/patch-1
...
Advice about negative zero
2020-05-26 20:37:45 +01:00
Marcell Guilherme Costa da Silva
39991b8249
update api docs to warn about isNegative pitfall
2020-05-24 17:06:11 -03:00
Marcell Guilherme Costa da Silva
a56f15f374
advice about negative zeroes on README
2020-05-07 01:01:50 -03:00
Michael M
5a6e1384d8
Merge pull request #135 from eliottvincent/master
...
#134 Correct documentation examples
2019-07-25 10:40:28 +01:00
Eliott Vincent
b75e2fdc45
#134 Correct documentation examples
2019-07-25 09:31:07 +02:00
Michael Mclaughlin
30828c01a6
v10.2.0
2019-05-08 17:05:51 +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 M
fe487dc39e
Merge pull request #129 from zgayjjf/patch-1
...
docs: typo fixed
2019-05-08 15:58:12 +01:00
jeffjing
0a81a6758a
docs: typo fixed
...
Related to [#73 ](https://github.com/MikeMcl/decimal.js/pull/73/files )
2019-05-08 21:13:01 +08:00
Michael M
f0dc751067
Merge pull request #127 from harrysarson/patch-1
...
Check node 12 in CI
2019-04-29 23:17:42 +01:00
Harry Sarson
6c6fbe7cac
Check node 12 in CI
2019-04-29 16:42:27 +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
Michael M
50dc74c3cb
Merge pull request #122 from adrianhara/master
...
Added custom util.inspect() function
2019-02-26 23:23:55 +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
0c83e6a804
Remove bower.json
2018-12-13 18:28:37 +00:00
Michael M
846b9e6c57
#114 Remove sourceMappingURL
2018-12-13 18:16:16 +00:00
Michael Mclaughlin
bf504624f8
v10.0.1
2018-05-24 16:45:53 +01:00
Michael Mclaughlin
c6fb6a87b3
Add browser field to package.json
2018-05-24 16:41:43 +01:00
Michael Mclaughlin
903b98877d
Avoid Content Security Policy unsafe-eval issue
2018-04-26 17:54:17 +01:00
Michael Mclaughlin
2e75623cc3
v10.0.0
2018-03-10 22:10:08 +00:00
Michael Mclaughlin
93930f8a23
Put global ts definitions in separate file (see bignumber.js #143 )
2018-03-10 22:00:51 +00:00
Michael Mclaughlin
a821788a7c
Explain trig precision limits
2018-03-10 21:57:13 +00:00
Michael Mclaughlin
ba99e657d2
#82 #91 const to var
2018-03-10 19:46:08 +00:00
Michael Mclaughlin
6016146ef7
#88 Update doc and .mjs after toNearest change
2018-03-10 19:43:59 +00:00
Michael M
c99bdef459
Merge pull request #88 from luciavelasco/fix-toNearest-rounding
...
Fix toNearest rounding
2018-03-05 22:52:28 +00:00