Searched refs:to_sci_string (Results 1 – 8 of 8) sorted by relevance
2208 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')
3517 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')
5368 def to_sci_string(self, a): member in Context
5544 def to_sci_string(self, a): member in Context
674 such as :meth:`to_eng_string` and :meth:`to_sci_string`.
1470 .. method:: to_sci_string(x)
1452 .. method:: to_sci_string(x)