find all multiplicands and multipliers for a number

Paul Rubin no.email at nospam.invalid
Mon Apr 13 05:30:04 CEST 2015


Dave Angel <davea at davea.name> writes:
> If I were trying to get a bound for stopping the divide operation, on
> a value too large to do exact real representation, I'd try doing just
> a few iterations of Newton's method.

Python ninja trick: math.log works on bignums too large to be
represented as floats ;-)



More information about the Python-list mailing list