Python · Numerical problems for engineers

Floats in loops

A simulation that steps time by 0.1 s can run one step too many, or never stop, unless its loop allows for float error.