math.frexp

Paul Rubin no.email at nospam.invalid
Fri Jul 15 16:24:34 EDT 2016


Steven D'Aprano <steve at pearwood.info> writes:
> But this can give some protection against overflow of intermediate
> values. 

Might be simplest to just add the logarithms.  Look up Kahan summation
for how to do that while minimizing loss of precision.



More information about the Python-list mailing list