floating point range generator

Carl Banks imbosol at aerojockey.com
Sun Jul 27 22:29:22 EDT 2003


Carl Banks wrote:
> 3. The last iteration might not happen because of floating point
>   uncertainties, even if rounding errors are minimized

Just to be sure: what I have should have said was there might be more
extra iteration.  The Python convention, of course, it not to include
the final point.  However, with floating point, it could happen to
slightly undershoot the stop value, which would cause an evident extra
iteration.


-- 
CARL BANKS




More information about the Python-list mailing list