Steven Bethard wrote:

>> Actually no, floats don't meet this behaviour or more specifically
>> floats don't guarantee this behaviour. It depends of course on
>> your implementation of f, but it is possible with floats to keep
>> incrementing and never reach a maximum.
>
> My code won't hit this corner case.  I'm incrementing with integers.

incrementing what with integers?

    >>> f = 9007199254740992.0
    >>> f == f+1
    True

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to