Searched refs:to_integral_value (Results 1 – 2 of 2) sorted by relevance
971 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 Decimal2583 to_integral = to_integral_value5358 def to_integral_value(self, a): member in Context5385 return a.to_integral_value(context=self)5388 to_integral = to_integral_value
2196 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')