Closed dan-simon closed 2 years ago
When trying to implement the cubic formula, I came across this problem:
c = new Decimal(2.5e-8) Decimal {mantissa: 2.5, exponent: -8} c.cbrt().pow(3) Decimal {mantissa: 2.4999999999999996, exponent: -7}
(The cube root is inaccurate, not the .pow(3))
When trying to implement the cubic formula, I came across this problem:
(The cube root is inaccurate, not the .pow(3))