Lines Matching refs:tan
2 * Single-precision vector tan(x) function.
67 float32x4_t VPCS_ATTR V_NAME_F1 (tan) (float32x4_t x)
90 /* Determine if x lives in an interval, where |tan(x)| grows to infinity. */
99 /* If x lives in an interval, where |tan(x)|
101 tan(r) ~ r + r^3 * P(r^2) = r + r * r^2 * P(r^2).
103 tan(r) = cotan(pi/2 - r) to express tan(x) as 1/tan(-r). Finally, use
104 the same polynomial approximation of tan as above. */
122 PL_SIG (V, F, 1, tan, -3.1, 3.1)
123 PL_TEST_ULP (V_NAME_F1 (tan), 2.96)
124 PL_TEST_EXPECT_FENV (V_NAME_F1 (tan), WANT_SIMD_EXCEPT)
125 PL_TEST_SYM_INTERVAL (V_NAME_F1 (tan), 0, 0x1p-31, 5000)
126 PL_TEST_SYM_INTERVAL (V_NAME_F1 (tan), 0x1p-31, 0x1p15, 500000)
127 PL_TEST_SYM_INTERVAL (V_NAME_F1 (tan), 0x1p15, inf, 5000)