Going past the float size limits?

Paul Rubin http
Sun Oct 28 20:26:19 CET 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