Python rounding error with float numbers

I don’t know if this is an obvious bug, but while running a Python script for varying the parameters of a simulation, I realized the results with delta = 0.29 and delta = 0.58 were missing. On investigation, I noticed that the following Python code: for i_delta in range(0, 101, 1): delta = float(i_delta) / … Read more