Searched refs:to_integral_value (Results 1 – 3 of 3) sorted by relevance
970 op = _WorkRep(self.to_integral_value())1924 base = _WorkRep(self.to_integral_value())1925 exponent = _WorkRep(other.to_integral_value())2592 def to_integral_value(self, rounding=None, context=None): member in Decimal2609 to_integral = to_integral_value5406 def to_integral_value(self, a): member in Context5433 return a.to_integral_value(context=self)5436 to_integral = to_integral_value
2220 d = c.to_integral_value(Decimal(10))2221 self.assertEqual(c.to_integral_value(10), d)2222 self.assertRaises(TypeError, c.to_integral_value, '10')
896 Identical to the :meth:`to_integral_value` method. The ``to_integral``909 .. method:: to_integral_value([rounding[, context]])916 renamed from ``to_integral`` to ``to_integral_value``. The old name