Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Ddecimal.py774 if self.is_snan():
778 elif other.is_snan():
948 if self.is_snan():
1583 if self.is_snan():
3045 def is_snan(self): member in Decimal
3499 if self.is_snan():
4431 def is_snan(self, a): member in Context
4445 return a.is_snan()
/external/python/cpython2/Lib/test/
Dtest_decimal.py1953 d = c.is_snan(Decimal(10))
1954 self.assertEqual(c.is_snan(10), d)
1955 self.assertRaises(TypeError, c.is_snan, '10')
/external/python/cpython2/Doc/library/
Ddecimal.rst631 .. method:: is_snan()
1261 .. method:: is_snan(x)