Lines Matching refs:atan
123 * Test special case inputs in asin(), acos() and atan(): signed
132 testall(atan, 0.0, 0.0, 0);
135 testall(atan, -0.0, -0.0, 0);
139 testall(atan, INFINITY, pi / 2, FE_INEXACT);
142 testall(atan, -INFINITY, -pi / 2, FE_INEXACT);
146 testall(atan, NAN, NAN, 0);
236 * Test various inputs to asin(), acos() and atan() and verify that the
246 testall(atan, 1.0, pi / 4, FE_INEXACT);
249 testall(atan, -1.0, -pi / 4, FE_INEXACT);
264 testall_tol(atan, sqrtl(3), pio3, 1, FE_INEXACT);
267 testall_tol(atan, -sqrtl(3), -pio3, 1, FE_INEXACT);
269 testall_tol(atan, sqrt2m1, pi / 8, 1, FE_INEXACT);
270 testall_tol(atan, -sqrt2m1, -pi / 8, 1, FE_INEXACT);
307 testall(atan, tiny, tiny, FE_INEXACT);
311 testall(atan, -tiny, -tiny, FE_INEXACT);
333 * Test very large inputs to atan().
340 testall(atan, huge, pi / 2, FE_INEXACT);
341 testall(atan, -huge, -pi / 2, FE_INEXACT);
364 * Test that sin(asin(x)) == x, and similarly for acos() and atan().
421 return (tanl(atan(x)));
472 printf("ok 6 - atan huge inputs\n");