Home | History | Annotate | Download | only in python2.7

Lines Matching defs:logb

3219     def logb(self, context=None):
3227 # logb(NaN) = NaN
3235 # logb(+/-Inf) = +Inf
3239 # logb(0) = -Inf, DivisionByZero
3241 return context._raise_error(DivisionByZero, 'logb(0)', 1)
4536 def logb(self, a):
4544 >>> ExtendedContext.logb(Decimal('250'))
4546 >>> ExtendedContext.logb(Decimal('2.50'))
4548 >>> ExtendedContext.logb(Decimal('0.03'))
4550 >>> ExtendedContext.logb(Decimal('0'))
4552 >>> ExtendedContext.logb(1)
4554 >>> ExtendedContext.logb(10)
4556 >>> ExtendedContext.logb(100)
4560 return a.logb(context=self)