Searched refs:fcmp (Results 1 - 12 of 12) sorted by relevance

/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_builtin.py5 from test.test_support import fcmp, have_unicode, TESTFN, unlink, \
232 self.assertTrue(not fcmp(coerce(1, 1.1), (1.0, 1.1)))
234 self.assertTrue(not fcmp(coerce(1L, 1.1), (1.0, 1.1)))
348 self.assertTrue(not fcmp(divmod(3.25, 1.0), (3.0, 0.25)))
349 self.assertTrue(not fcmp(divmod(-3.25, 1.0), (-4.0, 0.75)))
350 self.assertTrue(not fcmp(divmod(3.25, -1.0), (-4.0, -0.75)))
351 self.assertTrue(not fcmp(divmod(-3.25, -1.0), (3.0, -0.25)))
6 run_unittest, check_py3k_warnings namespace
H A Dtest_support.py33 "fcmp", "have_unicode", "is_jython", "TESTFN", "HOST", "FUZZ",
387 def fcmp(x, y): # fuzzy comparison function function
397 outcome = fcmp(x[i], y[i])
H A Dtest_float.py122 self.assertEqual(test_support.fcmp(float(" .25e-1 "), .025), 0)
/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_builtin.py5 from test.test_support import fcmp, have_unicode, TESTFN, unlink, \
232 self.assertTrue(not fcmp(coerce(1, 1.1), (1.0, 1.1)))
234 self.assertTrue(not fcmp(coerce(1L, 1.1), (1.0, 1.1)))
348 self.assertTrue(not fcmp(divmod(3.25, 1.0), (3.0, 0.25)))
349 self.assertTrue(not fcmp(divmod(-3.25, 1.0), (-4.0, 0.75)))
350 self.assertTrue(not fcmp(divmod(3.25, -1.0), (-4.0, -0.75)))
351 self.assertTrue(not fcmp(divmod(-3.25, -1.0), (3.0, -0.25)))
6 run_unittest, check_py3k_warnings namespace
H A Dtest_support.py33 "fcmp", "have_unicode", "is_jython", "TESTFN", "HOST", "FUZZ",
387 def fcmp(x, y): # fuzzy comparison function function
397 outcome = fcmp(x[i], y[i])
H A Dtest_float.py122 self.assertEqual(test_support.fcmp(float(" .25e-1 "), .025), 0)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_builtin.py5 from test.test_support import fcmp, have_unicode, TESTFN, unlink, \
232 self.assertTrue(not fcmp(coerce(1, 1.1), (1.0, 1.1)))
234 self.assertTrue(not fcmp(coerce(1L, 1.1), (1.0, 1.1)))
348 self.assertTrue(not fcmp(divmod(3.25, 1.0), (3.0, 0.25)))
349 self.assertTrue(not fcmp(divmod(-3.25, 1.0), (-4.0, 0.75)))
350 self.assertTrue(not fcmp(divmod(3.25, -1.0), (-4.0, -0.75)))
351 self.assertTrue(not fcmp(divmod(-3.25, -1.0), (3.0, -0.25)))
6 run_unittest, check_py3k_warnings namespace
H A Dtest_support.py33 "fcmp", "have_unicode", "is_jython", "TESTFN", "HOST", "FUZZ",
387 def fcmp(x, y): # fuzzy comparison function function
397 outcome = fcmp(x[i], y[i])
H A Dtest_float.py122 self.assertEqual(test_support.fcmp(float(" .25e-1 "), .025), 0)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_builtin.py5 from test.test_support import fcmp, have_unicode, TESTFN, unlink, \
232 self.assertTrue(not fcmp(coerce(1, 1.1), (1.0, 1.1)))
234 self.assertTrue(not fcmp(coerce(1L, 1.1), (1.0, 1.1)))
348 self.assertTrue(not fcmp(divmod(3.25, 1.0), (3.0, 0.25)))
349 self.assertTrue(not fcmp(divmod(-3.25, 1.0), (-4.0, 0.75)))
350 self.assertTrue(not fcmp(divmod(3.25, -1.0), (-4.0, -0.75)))
351 self.assertTrue(not fcmp(divmod(-3.25, -1.0), (3.0, -0.25)))
6 run_unittest, check_py3k_warnings namespace
H A Dtest_support.py33 "fcmp", "have_unicode", "is_jython", "TESTFN", "HOST", "FUZZ",
387 def fcmp(x, y): # fuzzy comparison function function
397 outcome = fcmp(x[i], y[i])
H A Dtest_float.py122 self.assertEqual(test_support.fcmp(float(" .25e-1 "), .025), 0)

Completed in 313 milliseconds