Searched refs:next_minus (Results 1 - 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_decimal.py174 'nextminus':'next_minus',
2049 d = c.next_minus(Decimal(10))
2050 self.assertEqual(c.next_minus(10), d)
2051 self.assertRaises(TypeError, c.next_minus, '10')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Ddecimal.py3366 def next_minus(self, context=None): member in class:Decimal
3437 ans = self.next_minus(context)
4771 def next_minus(self, a): member in class:Context
4777 >>> ExtendedContext.next_minus(Decimal('1'))
4779 >>> c.next_minus(Decimal('1E-1007'))
4781 >>> ExtendedContext.next_minus(Decimal('-1.00000003'))
4783 >>> c.next_minus(Decimal('Infinity'))
4785 >>> c.next_minus(1)
4789 return a.next_minus(context=self)

Completed in 19 milliseconds