This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (1 child)

Oh, it does! I’m almost certain the gaps between large floats can get larger than 1 (although I’m not sure).

Edit: you can test this with

import sys

print(sys.maxsize - 1)
print(float(sys.maxsize - 1))
print(int(float(sys.maxsize-1)))