Home
last modified time | relevance | path

Searched refs:min_mag (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_decimal.py1650 self.assertEqual(Decimal(567).min_mag(123),
1651 Decimal(567).min_mag(Decimal(123)))
2049 d = c.min_mag(Decimal(1), Decimal(2))
2050 self.assertEqual(c.min_mag(1, 2), d)
2051 self.assertEqual(c.min_mag(Decimal(1), 2), d)
2052 self.assertEqual(c.min_mag(1, Decimal(2)), d)
2053 self.assertRaises(TypeError, c.min_mag, '1', 2)
2054 self.assertRaises(TypeError, c.min_mag, 1, '2')
/external/python/cpython2/Lib/
Ddecimal.py3362 def min_mag(self, other, context=None): member in Decimal
4733 def min_mag(self, a, b): member in Context
4748 return a.min_mag(b, context=self)
/external/python/cpython2/Lib/test/decimaltestdata/
Dextra.decTest157 -- max/min/max_mag/min_mag bug in 2.5.2/2.6/3.0: max(NaN, finite) gave
171 extr1430 min_mag 9181716151 -NaN -> 9.18172E+9 Inexact Rounded
172 extr1431 min_mag NaN4 1.818180E100 -> 1.81818E+100 Rounded
/external/python/cpython2/Doc/library/
Ddecimal.rst729 .. method:: min_mag(other[, context])
1326 .. method:: min_mag(x, y)
/external/python/cpython2/Misc/
DNEWS8639 - Issue #4084: Fix max, min, max_mag and min_mag Decimal methods to give correct