Searched refs:fcmp (Results 1 – 5 of 5) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_builtin.py | 5 from test.test_support import fcmp, have_unicode, TESTFN, unlink, \ 230 self.assertTrue(not fcmp(coerce(1, 1.1), (1.0, 1.1))) 232 self.assertTrue(not fcmp(coerce(1L, 1.1), (1.0, 1.1))) 346 self.assertTrue(not fcmp(divmod(3.25, 1.0), (3.0, 0.25))) 347 self.assertTrue(not fcmp(divmod(-3.25, 1.0), (-4.0, 0.75))) 348 self.assertTrue(not fcmp(divmod(3.25, -1.0), (-4.0, -0.75))) 349 self.assertTrue(not fcmp(divmod(-3.25, -1.0), (3.0, -0.25)))
|
D | test_support.py | 320 def fcmp(x, y): # fuzzy comparison function function 330 outcome = fcmp(x[i], y[i])
|
D | test_float.py | 122 self.assertEqual(test_support.fcmp(float(" .25e-1 "), .025), 0)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | object.c | 955 cmpfunc fcmp; in PyObject_RichCompare() local 968 fcmp = v->ob_type->tp_compare; in PyObject_RichCompare() 969 if (fcmp != NULL) { in PyObject_RichCompare() 970 int c = (*fcmp)(v, w); in PyObject_RichCompare()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | object.c | 950 cmpfunc fcmp; in PyObject_RichCompare() local 963 fcmp = v->ob_type->tp_compare; in PyObject_RichCompare() 964 if (fcmp != NULL) { in PyObject_RichCompare() 965 int c = (*fcmp)(v, w); in PyObject_RichCompare()
|