Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_decimal.py1624 self.assertEqual(Decimal(567).max_mag(123),
1625 Decimal(567).max_mag(Decimal(123)))
2007 d = c.max_mag(Decimal(1), Decimal(2))
2008 self.assertEqual(c.max_mag(1, 2), d)
2009 self.assertEqual(c.max_mag(Decimal(1), 2), d)
2010 self.assertEqual(c.max_mag(1, Decimal(2)), d)
2011 self.assertRaises(TypeError, c.max_mag, '1', 2)
2012 self.assertRaises(TypeError, c.max_mag, 1, '2')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Ddecimal.py3306 def max_mag(self, other, context=None): member in Decimal
4661 def max_mag(self, a, b): member in Context
4676 return a.max_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
169 extr1420 max_mag 0.1111111 -NaN123 -> 0.111111 Inexact Rounded
170 extr1421 max_mag NaN999999999 0.001234567 -> 0.00123457 Inexact Rounded