Going past the float size limits?

Paul Rubin http
Sun Oct 28 15:26:19 EDT 2007


Paul Rubin <http://phr.cx@NOSPAM.invalid> writes:
> c,m = divmod(200000*log(A*T*C*G,10), 1)
> print "%.3fe%d"%(m, int(c))

Barf.  Left as exercise: fix the error.





More information about the Python-list mailing list