Lines Matching defs:acos
30 #pragma weak __acos = acos
34 * acos(x)
36 * acos(x) = pi/2 - asin(x)
37 * acos(-x) = pi/2 + asin(x)
39 * acos(x) = pi/2 - (x + x*x^2*R(x^2)) (see asin.c)
41 * acos(x) = pi/2 - (pi/2 - 2asin(sqrt((1-x)/2)))
48 * acos(x) = pi - 2asin(sqrt((1-|x|)/2))
97 acos(double x) {
106 if (hx > 0) /* acos(1) = 0 */
108 else /* acos(-1) = pi */
115 return (x - x) / (x - x); /* acos(|x|>1) is NaN */