Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_decimal.py542 self.assertTrue(Decimal(float('inf')).is_infinite())
543 self.assertTrue(Decimal(float('-inf')).is_infinite())
1732 self.assertTrue(MyDecimal.from_float(float('inf')).is_infinite())
1733 self.assertTrue(MyDecimal.from_float(float('-inf')).is_infinite())
1923 d = c.is_infinite(Decimal(10))
1924 self.assertEqual(c.is_infinite(10), d)
1925 self.assertRaises(TypeError, c.is_infinite, '10')
/external/python/cpython2/Lib/
Ddecimal.py2503 self.is_infinite() and other.is_infinite())
3021 def is_infinite(self): member in Decimal
4345 def is_infinite(self, a): member in Context
4358 return a.is_infinite()
/external/python/cpython2/Doc/library/
Ddecimal.rst593 .. method:: is_infinite()
1236 .. method:: is_infinite(x)