eryksun added the comment:
int(float_version) is returning the actual integer value represented by the
float, which is the closest approximation possible using an [IEEE 754
binary64][1], i.e. a C double. Here's one way to compute this value manually:
from struct import pack
from fracti
New submission from Nicolas Primeau:
Converting arbitrarily large float type numbers to integer type number results
in a non trivially different number.
This can be repeated in all Python versions, same with Python 2 with longs.
Expected behaviour would be an integer representation of 1e+44, a