fractions.Decimal._log10_exp_bound

Decimal._log10_exp_bound()[source]

Compute a lower bound for the adjusted exponent of self.log10(). In other words, find r such that self.log10() >= 10**r. Assumes that self is finite and positive and that self != 1.