Like the title says, I am trying to solve the quadratic equation while avoiding floating point arithmetic. More specifically, I will be coding this algorithm in C.I have integer values for a, b, and c. The result can be formatted in any way, though integers would be best. I would also like to avoid losing precision when compared to a traditional floating point solution.Note this does not have to do with speed or optimization, I don't mind if it takes a little longer, though I would prefer reasonably fast algorithms. Most solutions I have come across are based on multiplying variables by powers of 10.Answers would be best in pseudocode or C. Thanks
Solving the quadratic equation using only integer arithmetic
algorithms