Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_decimal.py1628 self.assertEqual(Decimal(567).min_mag(123),
1629 Decimal(567).min_mag(Decimal(123)))
2025 d = c.min_mag(Decimal(1), Decimal(2))
2026 self.assertEqual(c.min_mag(1, 2), d)
2027 self.assertEqual(c.min_mag(Decimal(1), 2), d)
2028 self.assertEqual(c.min_mag(1, Decimal(2)), d)
2029 self.assertRaises(TypeError, c.min_mag, '1', 2)
2030 self.assertRaises(TypeError, c.min_mag, 1, '2')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Ddecimal.py3336 def min_mag(self, other, context=None): member in Decimal
4705 def min_mag(self, a, b): member in Context
4720 return a.min_mag(b, context=self)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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