Home
last modified time | relevance | path

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

/third_party/python/Lib/
D_pydecimal.py3155 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)
/third_party/python/Lib/test/
Dtest_decimal.py2216 self.assertIs(z.is_subnormal(context=None), True)
2747 self.assertTrue(D("0.01").is_subnormal(context=xc))
3203 d = c.is_subnormal(Decimal(10))
3204 self.assertEqual(c.is_subnormal(10), d)
3205 self.assertRaises(TypeError, c.is_subnormal, '10')
4341 self.assertIs(Decimal("0.01").is_subnormal(), True)
/third_party/python/Doc/library/
Ddecimal.rst649 .. method:: is_subnormal(context=None)
1243 .. method:: is_subnormal(x)