Ask a Question

Prefer a chat interface with context about you and your work?

The Ins and Outs of Solving Quadratic Equations with Floating-Point Arithmetic

The Ins and Outs of Solving Quadratic Equations with Floating-Point Arithmetic

Solving quadratic equations with radicals on a computer with floating-point arithmetic requires great care to handle correctly all possible parameters. Literature on the subject glosses over the details, often considered as important but tedious to present. As a consequence, most implementations are flawed in one way or another. After having …