Lines Matching defs:logb
3333 def logb(self, context=None):
3341 # logb(NaN) = NaN
3349 # logb(+/-Inf) = +Inf
3353 # logb(0) = -Inf, DivisionByZero
3355 return context._raise_error(DivisionByZero, 'logb(0)', 1)
4726 def logb(self, a):
4734 >>> ExtendedContext.logb(Decimal('250'))
4736 >>> ExtendedContext.logb(Decimal('2.50'))
4738 >>> ExtendedContext.logb(Decimal('0.03'))
4740 >>> ExtendedContext.logb(Decimal('0'))
4742 >>> ExtendedContext.logb(1)
4744 >>> ExtendedContext.logb(10)
4746 >>> ExtendedContext.logb(100)
4750 return a.logb(context=self)