Skip to content
Prev 205430 / 398506 Next

solving cubic/quartic equations non-iteratively

Mads Jeppe Tarp-Johansen wrote:
As far as I know, we don't even have the quadratic...

They can't be hard to implement, though. However, you may need to take
care that non-iterative solutions are not necessarily more precise or
even faster than iterative ones. There may be cancellation issues and
the closed-form expressions can be complicated and involve slow function
calls.