Searched defs:scaleb (Results 1 - 2 of 2) sorted by relevance

/external/python/cpython2/Lib/
H A Ddecimal.py3563 def scaleb(self, other, context=None): member in class:Decimal
5236 def scaleb (self, a, b): member in class:Context
5239 >>> ExtendedContext.scaleb(Decimal('7.50'), Decimal('-2'))
5241 >>> ExtendedContext.scaleb(Decimal('7.50'), Decimal('0'))
5243 >>> ExtendedContext.scaleb(Decimal('7.50'), Decimal('3'))
5245 >>> ExtendedContext.scaleb(1, 4)
5247 >>> ExtendedContext.scaleb(Decimal(1), 4)
5249 >>> ExtendedContext.scaleb(1, Decimal(4))
5253 return a.scaleb(b, context=self)
/external/python/cpython3/Lib/
H A D_pydecimal.py3706 def scaleb(self, other, context=None): member in class:Decimal
5449 def scaleb (self, a, b): member in class:Context
5452 >>> ExtendedContext.scaleb(Decimal('7.50'), Decimal('-2'))
5454 >>> ExtendedContext.scaleb(Decimal('7.50'), Decimal('0'))
5456 >>> ExtendedContext.scaleb(Decimal('7.50'), Decimal('3'))
5458 >>> ExtendedContext.scaleb(1, 4)
5460 >>> ExtendedContext.scaleb(Decimal(1), 4)
5462 >>> ExtendedContext.scaleb(1, Decimal(4))
5466 return a.scaleb(b, context=self)

Completed in 128 milliseconds