PyDocs

Nav

Numeric and Mathematical Modules

Decimal.logb

decimal

method of Decimal
  • Decimal.logb(context=None)
Return the adjusted exponent of the operand as a Decimal instance.

If the operand is a zero, then Decimal('-Infinity') is returned and
the DivisionByZero condition is raised.  If the operand is an
infinity then Decimal('Infinity') is returned.
0 Examples
No examples for decimal/Decimal.logb.
See Also
No see-alsos for decimal/Decimal.logb
0 Notes
No notes for Decimal.logb