Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Ddecimal.py971 op = _WorkRep(self.to_integral_value())
1920 base = _WorkRep(self.to_integral_value())
1921 exponent = _WorkRep(other.to_integral_value())
2566 def to_integral_value(self, rounding=None, context=None): member in Decimal
2583 to_integral = to_integral_value
5358 def to_integral_value(self, a): member in Context
5385 return a.to_integral_value(context=self)
5388 to_integral = to_integral_value
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_decimal.py2196 d = c.to_integral_value(Decimal(10))
2197 self.assertEqual(c.to_integral_value(10), d)
2198 self.assertRaises(TypeError, c.to_integral_value, '10')