3 ms·
As it turns out, Math.js doesn't support arbitrary precision calculations with complex numbers. This is because it is using libraries complex-js [1] and bignumb
by valera_rozuvan 10y ago
As it turns out, Math.js doesn't support arbitrary precision calculations with complex numbers. This is because it is using libraries complex-js [1] and bignumber.js [2], which in turn also don't support arbitrary precision calculations with complex numbers.
This situation will improve in the future. See the Math.js issue [3].
[1] https://github.com/patrickroberts/complex-js https://github.com/patrickroberts/complex-js
[2] https://github.com/MikeMcl/bignumber.js/ https://github.com/MikeMcl/bignumber.js/
[3] https://github.com/josdejong/mathjs/issues/694 https://github.com/josdejong/mathjs/issues/694