Lines Matching defs:tests
32 __FBSDID("$FreeBSD: releng/11.0/lib/msun/tests/logarithm_test.c 292328 2015-12-16 09:11:11Z ngie $");
199 } tests[] = {
224 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) {
225 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP());
226 test_tol(log2f, tests[i].x, tests[i].log2x, FLT_ULP());
227 test_tol(log2l, tests[i].x, tests[i].log2x, LDBL_ULP());
228 test_tol(log, tests[i].x, tests[i].logex, DBL_ULP());
229 test_tol(logf, tests[i].x, tests[i].logex, FLT_ULP());
230 test_tol(logl, tests[i].x, tests[i].logex, LDBL_ULP());
231 test_tol(log10, tests[i].x, tests[i].log10x, DBL_ULP());
232 test_tol(log10f, tests[i].x, tests[i].log10x, FLT_ULP());
233 test_tol(log10l, tests[i].x, tests[i].log10x, LDBL_ULP());
234 if (tests[i].x >= 0.5) {
235 test_tol(log1p, tests[i].x - 1, tests[i].logex,
237 test_tol(log1pf, tests[i].x - 1, tests[i].logex,
239 test_tol(log1pl, tests[i].x - 1, tests[i].logex,