Home | History | Annotate | Download | only in libm

Lines Matching refs:tan

58  * tan(3)
80 ok = (tan(theta) == 0);
83 ok = (fabs((tan(theta) - tan_theta)/tan_theta) <= eps);
87 atf_tc_fail_nonfatal("tan(%d deg = %.17g) = %.17g"
89 deg, theta, tan(theta), tan_theta);
97 atf_tc_set_md_var(tc, "descr", "Test tan(NaN) == NaN");
105 ATF_CHECK(isnan(tan(x)) != 0);
111 atf_tc_set_md_var(tc, "descr", "Test tan(-Inf) == NaN");
117 const double y = tan(x);
125 atf_tc_set_md_var(tc, "descr", "Test tan(+Inf) == NaN");
131 const double y = tan(x);
140 atf_tc_set_md_var(tc, "descr", "Test tan(-0.0) == -0.0");
147 ATF_CHECK(tan(x) == x);
153 atf_tc_set_md_var(tc, "descr", "Test tan(+0.0) == +0.0");
160 ATF_CHECK(tan(x) == x);
189 ok = (tan(theta) == 0);