Home
last modified time | relevance | path

Searched refs:to_sci_string (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_decimal.py2208 d = c.to_sci_string(Decimal(10))
2209 self.assertEqual(c.to_sci_string(10), d)
2210 self.assertRaises(TypeError, c.to_sci_string, '10')
/external/python/cpython3/Lib/test/
Dtest_decimal.py3517 d = c.to_sci_string(Decimal(10))
3518 self.assertEqual(c.to_sci_string(10), d)
3519 self.assertRaises(TypeError, c.to_sci_string, '10')
4182 self.assertEqual(c.to_sci_string(x), '1e+222')
/external/python/cpython2/Lib/
Ddecimal.py5368 def to_sci_string(self, a): member in Context
/external/python/cpython3/Lib/
D_pydecimal.py5544 def to_sci_string(self, a): member in Context
/external/python/cpython3/Doc/whatsnew/
D2.4.rst674 such as :meth:`to_eng_string` and :meth:`to_sci_string`.
/external/python/cpython2/Doc/library/
Ddecimal.rst1470 .. method:: to_sci_string(x)
/external/python/cpython2/Doc/whatsnew/
D2.4.rst674 such as :meth:`to_eng_string` and :meth:`to_sci_string`.
/external/python/cpython3/Doc/library/
Ddecimal.rst1452 .. method:: to_sci_string(x)