Searched refs:is_qnan (Results 1 – 3 of 3) sorted by relevance
800 elif self.is_qnan():804 elif other.is_qnan():3143 def is_qnan(self): member in Decimal3607 if self.is_qnan():4575 def is_qnan(self, a): member in Context4588 return a.is_qnan()
712 self.assertTrue(Decimal(float('nan')).is_qnan())824 self.assertTrue(nc.create_decimal(float('nan')).is_qnan())2585 self.assertTrue(MyDecimal.from_float(float('nan')).is_qnan())2741 self.assertRaises(TypeError, D(1).is_qnan, context=xc)3176 d = c.is_qnan(Decimal(10))3177 self.assertEqual(c.is_qnan(10), d)3178 self.assertRaises(TypeError, c.is_qnan, '10')
634 .. method:: is_qnan()1228 .. method:: is_qnan(x)