Home
last modified time | relevance | path

Searched refs:is_qnan (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/
D_pydecimal.py800 elif self.is_qnan():
804 elif other.is_qnan():
3143 def is_qnan(self): member in Decimal
3607 if self.is_qnan():
4575 def is_qnan(self, a): member in Context
4588 return a.is_qnan()
/third_party/python/Lib/test/
Dtest_decimal.py712 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')
/third_party/python/Doc/library/
Ddecimal.rst634 .. method:: is_qnan()
1228 .. method:: is_qnan(x)