/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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...] |
/external/opencv3/doc/pattern_tools/ |
svgfig.py | 21 import re, codecs, os, platform, copy, itertools, math, cmath, random, sys, copy namespace 689 g = cmath.__dict__ [all...] |