Home
last modified time | relevance | path

Searched refs:copy_sign (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_decimal.py1182 d = Decimal(1).copy_sign(Decimal(-2))
1184 self.assertEqual(Decimal(1).copy_sign(-2), d)
1185 self.assertRaises(TypeError, Decimal(1).copy_sign, '-2')
1839 d = c.copy_sign(Decimal(1), Decimal(-2))
1840 self.assertEqual(c.copy_sign(1, -2), d)
1841 self.assertEqual(c.copy_sign(Decimal(1), -2), d)
1842 self.assertEqual(c.copy_sign(1, Decimal(-2)), d)
1843 self.assertRaises(TypeError, c.copy_sign, '1', -2)
1844 self.assertRaises(TypeError, c.copy_sign, 1, '-2')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Ddecimal.py2898 def copy_sign(self, other): member in Decimal
3432 return self.copy_sign(other)
4132 def copy_sign(self, a, b): member in Context
4154 return a.copy_sign(b)