Also test for overflow

Previously this would raise:

OverflowError: long int too large to convert to float

Now it just works.