Lines Matching refs:tan
2 * Single-precision scalar tan(x) function.
100 /* Fast single-precision tan implementation.
127 /* tan (x) ~= x + x^3 * P(x^2). */
153 /* tan(Inf or NaN) is NaN. */
157 /* If x lives in an interval where |tan(x)|
159 tan(r) ~ r + r^3 * P(r^2) = r + r * r^2 * P(r^2).
162 Using symmetries of tangent and the identity tan(r) = cotan(pi/2 - r),
163 we only need to change the sign of r to obtain tan(x) from cotan(r).
167 /* Determine if x lives in an interval where |tan(x)| grows to infinity. */
178 /* Evaluate polynomial approximation of tan or cotan. */
185 PL_SIG (S, F, 1, tan, -3.1, 3.1)