Lines Matching refs:tests
199 } tests[] = { in run_accuracy_tests() local
224 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) { in run_accuracy_tests()
225 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP()); in run_accuracy_tests()
226 test_tol(log2f, tests[i].x, tests[i].log2x, FLT_ULP()); in run_accuracy_tests()
227 test_tol(log2l, tests[i].x, tests[i].log2x, LDBL_ULP()); in run_accuracy_tests()
228 test_tol(log, tests[i].x, tests[i].logex, DBL_ULP()); in run_accuracy_tests()
229 test_tol(logf, tests[i].x, tests[i].logex, FLT_ULP()); in run_accuracy_tests()
230 test_tol(logl, tests[i].x, tests[i].logex, LDBL_ULP()); in run_accuracy_tests()
231 test_tol(log10, tests[i].x, tests[i].log10x, DBL_ULP()); in run_accuracy_tests()
232 test_tol(log10f, tests[i].x, tests[i].log10x, FLT_ULP()); in run_accuracy_tests()
233 test_tol(log10l, tests[i].x, tests[i].log10x, LDBL_ULP()); in run_accuracy_tests()
234 if (tests[i].x >= 0.5) { in run_accuracy_tests()
235 test_tol(log1p, tests[i].x - 1, tests[i].logex, in run_accuracy_tests()
237 test_tol(log1pf, tests[i].x - 1, tests[i].logex, in run_accuracy_tests()
239 test_tol(log1pl, tests[i].x - 1, tests[i].logex, in run_accuracy_tests()