Searched refs:next_toward (Results 1 – 2 of 2) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_decimal.py | 1630 self.assertEqual(Decimal(567).next_toward(123), 1631 Decimal(567).next_toward(Decimal(123))) 2061 d = c.next_toward(Decimal(1), Decimal(2)) 2062 self.assertEqual(c.next_toward(1, 2), d) 2063 self.assertEqual(c.next_toward(Decimal(1), 2), d) 2064 self.assertEqual(c.next_toward(1, Decimal(2)), d) 2065 self.assertRaises(TypeError, c.next_toward, '1', 2) 2066 self.assertRaises(TypeError, c.next_toward, 1, '2')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | decimal.py | 3412 def next_toward(self, other, context=None): member in Decimal 4811 def next_toward(self, a, b): member in Context 4844 return a.next_toward(b, context=self)
|