Lines Matching refs:tan
83 * Test special cases in sin(), cos(), and tan().
90 testall(tan, 0.0, 0.0, ALL_STD_EXCEPT, 0);
91 testall(tan, -0.0, -0.0, ALL_STD_EXCEPT, 0);
98 testall(tan, INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
101 testall(tan, -INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
106 testall(tan, NAN, NAN, ALL_STD_EXCEPT, 0);
161 assert(fabs(tan(f_pi_odd[i])) < FLT_EPSILON);
179 assert(fabs(tan(d_pi_odd[i])) < 2 * DBL_EPSILON);
183 assert(fabs(tan(-d_pi_odd[i])) < 2 * DBL_EPSILON);
187 assert(fabs(tan(d_pi_odd[i] * 2)) < 2 * DBL_EPSILON);
191 assert(fabs(tan(-d_pi_odd[i] * 2)) < 2 * DBL_EPSILON);
222 /* For small args, sin(x) = tan(x) = x, and cos(x) = 1. */
225 testall(tan, 0xd.50ee515fe4aea16p-114L, 0xd.50ee515fe4aea16p-114L,
247 testacc(tan, -0.15862817413325692897L, -0.15997221861309522115L,
249 testacc(tan, 0.38374784931303813530L, 0.40376500259976759951L,