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

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Ddecimal.py3059 def is_zero(self): member in class:Decimal
3510 if self.is_zero():
4469 def is_zero(self, a): member in class:Context
4472 >>> ExtendedContext.is_zero(Decimal('0'))
4474 >>> ExtendedContext.is_zero(Decimal('2.50'))
4476 >>> ExtendedContext.is_zero(Decimal('-0E+2'))
4478 >>> ExtendedContext.is_zero(1)
4480 >>> ExtendedContext.is_zero(0)
4484 return a.is_zero()
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A Ddecimal.py3059 def is_zero(self): member in class:Decimal
3510 if self.is_zero():
4469 def is_zero(self, a): member in class:Context
4472 >>> ExtendedContext.is_zero(Decimal('0'))
4474 >>> ExtendedContext.is_zero(Decimal('2.50'))
4476 >>> ExtendedContext.is_zero(Decimal('-0E+2'))
4478 >>> ExtendedContext.is_zero(1)
4480 >>> ExtendedContext.is_zero(0)
4484 return a.is_zero()

Completed in 76 milliseconds