Home
last modified time | relevance | path

Searched refs:log2x (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/sys/dev/syscons/plasma/
H A Dfp16.c46 signed int log2x; in fp16_sqrt() local
53 log2x = flsl(x) - 1; in fp16_sqrt()
54 if (log2x >= 16) { in fp16_sqrt()
55 y = x >> (log2x - 16) / 2; in fp16_sqrt()
58 y = x << (16 - log2x) / 2; in fp16_sqrt()
/freebsd-13.1/lib/msun/tests/
H A Dlogarithm_test.c187 long double log2x; in ATF_TC_BODY() member
227 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP()); in ATF_TC_BODY()
228 test_tol(log2f, tests[i].x, tests[i].log2x, FLT_ULP()); in ATF_TC_BODY()
229 test_tol(log2l, tests[i].x, tests[i].log2x, LDBL_ULP()); in ATF_TC_BODY()