为什么 math.simplify("1e-10").toString() of math.js returns 0?

Why math.simplify("1e-10").toString() of math.js returns 0?

我对 JavaScript 的 math.js 库中的函数 simplify 有疑问。函数 returns 0 适用于非常小的数字。 例如:

math.simplify("1e-10").toString(); // returns 0
math.simplify("sin(1.5)*1e-10").toString(); // returns 0

对于小数的计算不是很好。 你知道如何解决这个问题吗?

这是 math.js 中的错误。我在这里打开了一个问题:

https://github.com/josdejong/mathjs/issues/813