Quadratic equation in Ada

Solving quadratic equations is not as simple as most people think. The standard formula for solving a x^2 + b x + c = 0 is delta = b^2 – 4 a c x1 = (-b + sqrt(delta)) / (2 a) (*) x2 = (-b – sqrt(delta)) / (2 a) but when 4 a c … Read more