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

/external/python/cpython2/Lib/
H A Ddecimal.py3438 def next_toward(self, other, context=None): member in class:Decimal
3468 'Infinite result from next_toward',
4839 def next_toward(self, a, b): member in class:Context
4850 >>> c.next_toward(Decimal('1'), Decimal('2'))
4852 >>> c.next_toward(Decimal('-1E-1007'), Decimal('1'))
4854 >>> c.next_toward(Decimal('-1.00000003'), Decimal('0'))
4856 >>> c.next_toward(Decimal('1'), Decimal('0'))
4858 >>> c.next_toward(Decimal('1E-1007'), Decimal('-100'))
4860 >>> c.next_toward(Decimal('-1.00000003'), Decimal('-10'))
4862 >>> c.next_toward(Decima
[all...]

Completed in 70 milliseconds