Lines Matching refs:tan
2 * Double-precision SVE tan(x) function.
33 return sv_call_f64 (tan, x, y, special);
36 /* Vector approximation for double-precision tan.
40 svfloat64_t SV_NAME_D1 (tan) (svfloat64_t x, svbool_t pg)
63 /* Approximate tan(r) using order 8 polynomial.
64 tan(x) is odd, so polynomial has the form:
65 tan(x) ~= x + C0 * x^3 + C1 * x^5 + C3 * x^7 + ...
68 tan(r) ~= r + r^3 * (C0 + r^2 * P(r)). */
78 tan(2x) = 2 * tan(x) / (1 - (tan(x))^2)
80 tan(x) = 1 / (tan(pi/2 - x))
96 PL_SIG (SV, D, 1, tan, -3.1, 3.1)
97 PL_TEST_ULP (SV_NAME_D1 (tan), 2.99)
98 PL_TEST_SYM_INTERVAL (SV_NAME_D1 (tan), 0, 0x1p23, 500000)
99 PL_TEST_SYM_INTERVAL (SV_NAME_D1 (tan), 0x1p23, inf, 5000)