Searched refs:is_subnormal (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_decimal.py | 1959 d = c.is_subnormal(Decimal(10)) 1960 self.assertEqual(c.is_subnormal(10), d) 1961 self.assertRaises(TypeError, c.is_subnormal, '10')
|
/external/python/cpython3/Lib/ |
D | _pydecimal.py | 3155 def is_subnormal(self, context=None): member in Decimal 3621 if self.is_subnormal(context=context): 4623 def is_subnormal(self, a): member in Context 4643 return a.is_subnormal(context=self)
|
/external/python/cpython2/Lib/ |
D | decimal.py | 3049 def is_subnormal(self, context=None): member in Decimal 3515 if self.is_subnormal(context=context): 4447 def is_subnormal(self, a): member in Context 4467 return a.is_subnormal(context=self)
|
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 2205 self.assertIs(z.is_subnormal(context=None), True) 2736 self.assertTrue(D("0.01").is_subnormal(context=xc)) 3192 d = c.is_subnormal(Decimal(10)) 3193 self.assertEqual(c.is_subnormal(10), d) 3194 self.assertRaises(TypeError, c.is_subnormal, '10') 4330 self.assertIs(Decimal("0.01").is_subnormal(), True)
|
/external/python/cpython2/Doc/library/ |
D | decimal.rst | 638 .. method:: is_subnormal() 1266 .. method:: is_subnormal(x)
|
/external/python/cpython3/Doc/library/ |
D | decimal.rst | 649 .. method:: is_subnormal(context=None) 1243 .. method:: is_subnormal(x)
|