Jos de Jong
ab3461d484
feat: implement support for bigint ( #3207 , #2737 )
2024-05-31 12:43:09 +02:00
David Contreras
eded7e1dc3
feat: nearly equal with relative and absolute tolerance ( #3152 )
...
* nearlyEqual with absolute and relative tolerances
* Format
* nearlyEqual for bigNumber
* Added skip for NaN
* Reduce diff a bit
* Issue with examples in jsdcos
* Updated all calls for nearlyEqual
* Fixed failing tests
* Changed epsilon to relTol, absTol
* Changed references to epsilon in docs and tests
* Added warning for config.epsilon
* Fix warning in zeta.test
* Added config test
* Added sinon to test console.warn
---------
Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2024-05-15 10:56:11 +02:00
jos
078f1dd69f
Renamed methods .eval to .evaluate, updated all docs and examples accordingly
2019-01-16 10:11:32 +01:00
jos
d4543e2212
Fixed docs mentioning wrong default value of epsilon
2018-07-11 08:54:07 +02:00
jos
b6b36bfd9b
Use strict equality checks everywhere (=== and !==)
2018-06-13 15:02:21 +02:00
jos
b3b96749bf
Refactored var into const/let, and removed a lot of semicolons
2018-06-13 12:21:14 +02:00
jos
15aca5e4d0
Changed casing of the values of config options number and matrix to match the actual name of the classes.
2016-03-04 19:41:54 +01:00
jos
e152c9943c
Fixed a lot of broken links
2016-03-04 16:56:19 +01:00
jos
6363ba7df0
Added a paragraph on fractions and bignumbers in the section "round-off" errors
2016-02-04 10:17:21 +01:00
jos
a92b978036
Merged develop into v2
2015-06-07 15:57:41 +02:00
Devan Patel
bbc0a343ee
Update numbers.md
2015-05-15 15:17:58 -04:00
jos
b831ad2b72
Added support for fractions to function math.format (including output option fraction='decimal' | 'ratio')
2015-05-12 19:43:11 +02:00
jos
0c1e9deeeb
Implemented configuration value {number: 'fraction'}. Added docs and example for fractions.
2015-05-12 14:40:47 +02:00
jos
59de16801e
Renamed function category "Comparison" with "Relational"
2014-07-20 12:40:34 +02:00
jos
193cc056db
Removed require('mathjs') here and there in the docs
2014-06-24 13:19:10 +02:00
jos
7d84e4daf0
Math.js now immediately returns a default instance of mathjs, no need to create an instance every time you want to use the library.
2014-06-20 23:11:14 +02:00
jos
ced18ecfca
Implemented functions dotEqual and dotUnequal, renamed functions smallereq to smallerEq and largereq to largerEq (all functions are now camelcase)
2014-06-09 14:07:21 +02:00
jos
3e62516909
Documented new option epsilon for comparison. Changed default value to 1e-14
2014-04-16 09:28:03 +02:00
josdejong
d19e7ea570
Switched to module decimal.js for BigNumber support, instead of bignumber.js.
2014-04-04 21:08:33 +02:00
Fabrice Colas
08cbc3dfa2
Correct typo in numbers.md
2014-03-12 22:59:24 -07:00
josdejong
e4cf5395a5
Improved documentation on the number configuration
2014-01-03 22:34:41 +01:00
josdejong
f2f1ae1f72
Renamed and flattened configuration settings
2013-12-07 11:39:45 +01:00
josdejong
a9b49bf929
Fixed some typos in the docs
2013-11-28 21:55:44 +01:00
josdejong
5baa3901cd
Fixed some typos
2013-11-27 13:07:05 +01:00
josdejong
335dccfa5b
Moved docs on data types in a separate directory
2013-11-27 12:14:47 +01:00