Iterating on doubles is considered harmful, since ...
# announcements
e
Iterating on doubles is considered harmful, since it exposes you to a host of nasty rounding errors. One usually iterates on integers, then multiplies an integer by the corresponding double step.