Searched refs:testf (Results 1 - 3 of 3) sorted by relevance

/openbsd-current/regress/lib/libm/complex/
H A Dcomplex.c16 #define testf(f, r, i) ( \ macro
40 assert(testf(rf, 1.150127F, -2.256295F));
42 assert(testf(rf, -1.150127F, -0.685498F));
44 assert(testf(rf, -0.381870F, -1.071985F));
/openbsd-current/regress/lib/libm/msun/
H A Drem_test.c47 static void testf(float, float, float, int);
52 testf(x, y, e_r, e_q); \
69 testf(0x1p-149, 1, 0x1p-149, 0);
74 testf(0x1.9044f6p-1, 0x1.ce662ep-1, -0x1.f109cp-4, 1);
186 testf(float x, float y, float expected_rem, int expected_quo) function
H A Dnext_test.c51 #define testf(exp, ans, ex) do { \ macro
164 testf(nexttowardf(1.0, 1.0 + ldbl_eps), 1.0 + FLT_EPSILON, 0);
236 testf(idf(nextafterf(FLT_MAX, INFINITY)), INFINITY, ex_over);
237 testf(idf(nextafterf(INFINITY, 0.0)), FLT_MAX, 0);
238 testf(idf(nexttowardf(FLT_MAX, FLT_MAX * 2.0)), INFINITY, ex_over);
239 testf(idf(nexttowardf(INFINITY, FLT_MAX * 2.0)), FLT_MAX, 0);

Completed in 184 milliseconds