1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00
Commit Graph

171 Commits

Author SHA1 Message Date
Alden
727eae8053 check more cases 2023-02-13 01:56:56 -05:00
Alden
0f36747c05 parametrize tests 2023-02-13 01:44:14 -05:00
Alden
4c52aec1cd additional falsifyer 2023-02-13 01:43:52 -05:00
Alden
05c3fd3fae test case finder 2023-02-12 23:08:43 -05:00
Alden
075521e8a0 a new failing test case 2023-02-12 23:02:53 -05:00
Michael Mclaughlin
7f01abd83d v10.4.3 2022-12-04 13:02:11 +00:00
Michael M
0f148f9787
Merge pull request #211 from jon-ressio/feature/no-toStringTag
Remove toStringTag declaration for type compatibility
2022-12-04 12:56:21 +00:00
Jon Stelly
858501020d
Remove toStringTag declaration for type compatibility
- Allows Decimal to be type compatible with multiple Decimal.js imports
- Resolves: https://github.com/prisma/prisma/issues/16397
2022-11-29 22:45:58 -06:00
Michael Mclaughlin
25c4a107aa v10.4.2 2022-10-12 21:18:09 +01:00
Michael M
063e5fb7e9
#209 Correct return type 2022-10-07 18:09:07 +01:00
Michael M
65e63cedc4
#209 Correct return type 2022-10-07 18:08:28 +01:00
Michael Mclaughlin
3dcadc7351 v10.4.1 2022-09-16 23:02:17 +01:00
Michael M
d2e36c6524
#205 Add './decimal' subpath to exports 2022-09-16 22:57:34 +01:00
Michael Mclaughlin
f8b93e0bfa v10.4.0 2022-08-14 18:25:23 +01:00
Michael M
f03f8686b6
Merge pull request #201 from UPONU-GmbH/master
Fix typescript 4.7 / node16 import/type resolution
2022-08-14 18:09:19 +01:00
Michael M
61eef6711d
Merge pull request #203 from mhmdanas/preserve-license-comment--with-bundler
Preserve license comment after bundling
2022-08-02 21:14:59 +01:00
mhmdanas
1e72c7b1f8 Preserve license comment after bundling
The `/!* ... */` syntax is widely recognized by bundlers, and such
comments are preserved in the bundle, which is important for license
comments such at these ones.
2022-07-21 01:28:34 +03:00
Marcel Link
0bc3fdbdaa
Fix typescript 4.7 / node16 import/type resolution 2022-06-01 01:58:01 +02:00
Michael M
edadaf8f93
Correct typo 2022-05-23 21:42:54 +01:00
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