Searched refs:is_nan (Results 1 – 3 of 3) sorted by relevance
943 self.assertTrue(NAN.is_nan())944 self.assertFalse(INF.is_nan())945 self.assertFalse((0.).is_nan())
1905 d = c.is_nan(Decimal(10))1906 self.assertEqual(c.is_nan(10), d)1907 self.assertRaises(TypeError, c.is_nan, '10')
951 elif self.is_nan():2476 return (self.is_nan() and other.is_nan() or2999 def is_nan(self): member in Decimal4332 def is_nan(self, a): member in Context4346 return a.is_nan()