Michael Mclaughlin
5d6a1879e2
v6.2.2
v6.2.2
2024-09-10 18:19:06 +01:00
Michael Mclaughlin
a037315926
#212 Bugfix: sqrt error when Big.strict set true.
2024-09-10 18:14:55 +01:00
Michael Mclaughlin
9c6c959c92
Update minified version in index.html
2022-07-09 19:24:54 +01:00
Michael Mclaughlin
8f44eb57da
v6.2.1
v6.2.1
2022-07-09 19:07:36 +01:00
Michael Mclaughlin
d589a0e268
#191 Bugfix: round may result in improper coefficient
2022-07-09 19:03:30 +01:00
Michael Mclaughlin
f84226449f
v6.2.0
v6.2.0
2022-06-04 14:52:01 +01:00
Michael Mclaughlin
4418329d5c
#177 Add neg method to negate a Big number.
2022-06-04 14:24:18 +01:00
Michael Mclaughlin
55bd68c206
Allow BigInts in strict mode
2022-06-04 14:01:53 +01:00
Michael Mclaughlin
2f0b9101bd
#173 Add Symbol.for('nodejs.util.inspect.custom')
2022-06-03 19:41:58 +01:00
Michael Mclaughlin
f8ad6c9ee8
Add note that a Big is created from a numbers toString value
2022-06-03 19:40:50 +01:00
Michael M
1ef0018e34
Merge pull request #188 from lune-climate/esm-compat
...
Fix ESM compatibility
2022-05-23 19:11:18 +01:00
Jakub Stasiak
f97c1558e3
Fix indentation
2022-05-19 20:22:47 +02:00
Jakub Stasiak
a28eb33ece
Fix ESM compatibility
...
This allows importing big.js in ESM packages without having to resolve
to the
import Big from 'big.js/big.mjs';
trick.
Fixes GH-170.
2022-05-19 20:03:45 +02:00
Michael Mclaughlin
8655bdfe89
v6.1.1
v6.1.1
2021-05-03 20:06:51 +01:00
Michael Mclaughlin
dce4f88671
Add version number to legacy docs
2021-05-03 19:42:29 +01:00
Michael Mclaughlin
2b976905b7
#169 Correct rounding mode documentation
2021-05-03 19:28:22 +01:00
Michael Mclaughlin
7817ac0130
#169 Bugfix: round, toFixed etc. using original constructor RM
2021-05-03 19:26:08 +01:00
Michael Mclaughlin
f2d55d8b10
v6.1.0
v6.1.0
2021-04-26 21:54:50 +01:00
Michael Mclaughlin
8d9e5f70e7
Add missing documentation of toFixed etc. rounding mode parameter
2021-04-26 21:54:50 +01:00
Michael Mclaughlin
cd8a47f833
#150 Add static rounding modes to Big constructor
2021-04-26 21:54:50 +01:00
Lambdac0re
d63c3141d1
fix typo in link
2021-01-14 19:04:56 +01:00
Michael Mclaughlin
0f94dc9110
v6.0.3
v6.0.3
2020-12-02 22:54:40 +00:00
Michael Mclaughlin
2ea2e759d7
#148 Bugfix: primitive numbers passed to constructor internally in strict mode
2020-12-02 22:46:56 +00:00
Michael Mclaughlin
581037601e
v6.0.2
v6.0.2
2020-10-31 12:56:59 +00:00
Michael Mclaughlin
20d9ba909c
#147 Change toJSON to be an alias of toString
2020-10-31 12:55:41 +00:00
Michael Mclaughlin
e82dd1d5f6
v6.0.1
v6.0.1
2020-09-30 21:05:33 +01:00
Michael Mclaughlin
9a33edc8df
Correct sqrt initial estimate
2020-09-30 21:02:31 +01:00
Michael Mclaughlin
db8091b580
v6.0.0
...
Add optional rounding mode parameter to `toExponential`, `toFixed` and `toPrecision`.
Add a strict mode to disallow imprecise number/Big conversions when `Big.strict = true`.
Add `toNumber` method.
Add `prec` method to round a Big to a specified number of significant digits.
Add version selector to API documentation.
Change `toJSON` to return exponential format.
Remove *big.min.js*.
Remove `Big.version`.
Rename *doc* folder to *docs* to use it as the Github publishing source.
Add legacy API documentation to *docs*.
Add *README* to *perf* directory.
Refactor test suite, and add `toNumber` and `prec` tests.
Update *README*.
v6.0.0
2020-09-25 12:47:59 +01:00
Michael M
b14a15f25b
Merge pull request #144 from nutboltu/feat/rm
...
feat: add rm support to strigify and uglify-js as package dependencies
2020-09-07 23:10:02 +01:00
farhadyasir
0614409f53
fix: rm 0 check
2020-08-28 14:42:11 +10:00
farhadyasir
33d43d877b
refactor: revert big.min and big.min.map
2020-08-28 14:40:45 +10:00
nutboltu
e8a74a38e8
doc: update toExponential, toFixed and toPrecision docs with rm mode
2020-08-24 13:30:02 +10:00
nutboltu
021ff7e0bd
feat: add rm support to strigify and uglify-js as package dependencies
2020-08-24 13:08:47 +10:00
Michael M
b4f32aeb42
Merge pull request #138 from nycdotnet/patch-1
...
Update docs to explain behavior of calling Big with undefined without new
2020-08-02 22:55:32 +01:00
Steve Ognibene
8ebbddd29a
Update docs to explain behavior of calling Big with undefined without new
...
Addresses recent comment here: https://github.com/MikeMcl/big.js/issues/127
2020-04-23 16:04:22 -04:00
Michael M
7c990e67aa
Merge pull request #126 from jsyt/master
...
#125 Remove redundant code.
2019-08-05 23:27:08 +01:00
Luke Hu
4d91cdda5f
fix issue #125
2019-08-05 21:25:19 +08:00
Luke Hu
dd65009087
fix issue #125
2019-08-05 21:13:55 +08:00
Michael M
565c0f8136
Merge pull request #116 from koksyn/docs-patch
...
Fixing a typo in README.md
2019-01-13 17:46:41 +00:00
Mateusz Palichleb
b51fbdf55b
Revert mjs, change to relative path
2019-01-12 14:44:32 +01:00
Mateusz Palichleb
9bec360cf1
Fixing a typo in README.md
...
For "Set up" section in documentation, there was a typo in import example for ES6.
"import Big from 'big.jms'"
instead of
"import Big from 'big.js'"
2019-01-11 21:40:26 +01:00
Michael M
d681c2e7b7
Merge pull request #113 from 8084/master
...
corrected mistake in the docs
2018-12-26 20:50:15 +00:00
8084
902ada15dc
corrected mistake in the docs
2018-12-25 16:33:13 +03:00
Michael M
397492ffe0
Merge pull request #111 from StoneCypher/patch-1
...
novices won't --save-dev
2018-12-16 19:20:49 +00:00
John Haugeland
f3cc666803
novices won't --save-dev
2018-12-16 09:10:14 -08:00
Michael Mclaughlin
01b3ce3a6b
v5.2.2
v5.2.2
2018-10-18 11:52:15 +01:00
Michael Mclaughlin
3e525eb5c8
v5.2.1
v5.2.1
2018-10-11 19:06:43 +01:00
Michael M
6d43b58dc6
Delete bower.json
2018-10-09 22:50:22 +01:00
Michael Mclaughlin
718ec5ae2c
v5.2.0
v5.2.0
2018-10-09 22:43:34 +01:00
Michael Mclaughlin
27dac463da
Update API document
2018-10-09 21:09:36 +01:00