Lines Matching refs:acos
122 * Test special case inputs in asin(), acos() and atan(): signed
130 testall(acos, 0.0, pi / 2, FE_INEXACT);
133 testall(acos, -0.0, pi / 2, FE_INEXACT);
137 testall(acos, INFINITY, NAN, FE_INVALID);
140 testall(acos, -INFINITY, NAN, FE_INVALID);
144 testall(acos, NAN, NAN, 0);
235 * Test various inputs to asin(), acos() and atan() and verify that the
244 testall(acos, 1.0, 0, 0);
247 testall(acos, -1.0, pi, FE_INEXACT);
257 testall_tol(acos, sqrtl(2) / 2, pi / 4, 1, FE_INEXACT);
259 testall_tol(acos, -sqrtl(2) / 2, c3pi / 4, 1, FE_INEXACT);
262 testall_tol(acos, sqrtl(3) / 2, pio3 / 2, 1, FE_INEXACT);
265 testall_tol(acos, -sqrtl(3) / 2, c5pio3 / 2, 1, FE_INEXACT);
305 testall(acos, tiny, pi / 2, FE_INEXACT);
309 testall(acos, -tiny, pi / 2, FE_INEXACT);
363 * Test that sin(asin(x)) == x, and similarly for acos() and atan().
401 return (cosl(acos(x)));