Speed Comparison Perl Python & C

Paul Rubin http
Tue Mar 2 20:59:16 CET 2004


beliavsky at aol.com writes:
> Thanks. I am going to learn about Psyco. In this case, I assume that
> doing the computations with floating point numbers and finally
> converting the result to int gives the same values as the original
> integer calculation. 

This isn't obvious since the answer around 1.15*2**52 and Python
floats have 53 bits of precision.



More information about the Python-list mailing list