HomeSort by relevance Sort by last modified time
    Searched defs:cmath (Results 1 - 2 of 2) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_cmath.py 4 import cmath, math namespace
5 from cmath import phase, polar, rect, pi
49 # list of all functions in cmath
50 test_functions = [getattr(cmath, fname) for fname in [
55 test_functions.append(lambda x : cmath.log(x, 1729. + 0j))
56 test_functions.append(lambda x : cmath.log(14.-27j, x))
117 self.assertAlmostEqual(cmath.pi, pi_expected, places=9,
118 msg="cmath.pi is {}; should be {}".format(cmath.pi, pi_expected))
119 self.assertAlmostEqual(cmath.e, e_expected, places=9
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_cmath.py 4 import cmath, math namespace
5 from cmath import phase, polar, rect, pi
49 # list of all functions in cmath
50 test_functions = [getattr(cmath, fname) for fname in [
55 test_functions.append(lambda x : cmath.log(x, 1729. + 0j))
56 test_functions.append(lambda x : cmath.log(14.-27j, x))
117 self.assertAlmostEqual(cmath.pi, pi_expected, places=9,
118 msg="cmath.pi is {}; should be {}".format(cmath.pi, pi_expected))
119 self.assertAlmostEqual(cmath.e, e_expected, places=9
    [all...]

Completed in 231 milliseconds