Physics, Simulation, Numerical Methods, Games Development, Physics Engine.
need to carefully navigate around a few pitfalls when it comes to using floating point arithmetic: Potential divisions by zero. When a is 0 we obviously have a division by zero, but that’s not the end of the story: we can have a non-zero a such that a² is zero in floating point arithmetic.