Lines Matching refs:tan
2 * Double-precision vector tan(x) function.
43 return v_call_f64 (tan, x, x, v_u64 (-1));
46 /* Vector approximation for double-precision tan.
50 float64x2_t VPCS_ATTR V_NAME_D1 (tan) (float64x2_t x)
80 /* Approximate tan(r) using order 8 polynomial.
81 tan(x) is odd, so polynomial has the form:
82 tan(x) ~= x + C0 * x^3 + C1 * x^5 + C3 * x^7 + ...
85 tan(r) ~= r + r^3 * (C0 + r^2 * P(r)). */
94 tan(2x) = 2 * tan(x) / (1 - (tan(x))^2)
96 tan(x) = 1 / (tan(pi/2 - x))
115 PL_SIG (V, D, 1, tan, -3.1, 3.1)
116 PL_TEST_ULP (V_NAME_D1 (tan), 2.99)
117 PL_TEST_EXPECT_FENV (V_NAME_D1 (tan), WANT_SIMD_EXCEPT)
118 PL_TEST_SYM_INTERVAL (V_NAME_D1 (tan), 0, TinyBound, 5000)
119 PL_TEST_SYM_INTERVAL (V_NAME_D1 (tan), TinyBound, RangeVal, 100000)
120 PL_TEST_SYM_INTERVAL (V_NAME_D1 (tan), RangeVal, inf, 5000)