find all multiplicands and multipliers for a number

Paul Rubin no.email at nospam.invalid
Sun Apr 12 23:30:04 EDT 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