working with VERY large 'float' and 'complex' types

Paul Rubin http
Thu Sep 15 17:29:59 EDT 2005


Mikael Olofsson <mikael at isy.liu.se> writes:
> >     print 'z = %.5fE%d' % (10.**c, m)
> 
> Nice approach. We should never forget that we do have mathematical
> skills beside the computers. But, shouldn't you switch c and m in the
> last row?

Yeah, doh.  c=characteristic, m=mantissa.



More information about the Python-list mailing list