Lines Matching refs:acos
2 * Double-precision acos(x) function.
22 /* Fast implementation of double-precision acos(x) based on polynomial
25 For x < Small, approximate acos(x) by pi/2 - x. Small = 2^-53 for correct
30 acos(x) = pi/2 - asin(x)
36 acos(0x1.fbab0a7c460f6p-2) got 0x1.0d54d1985c068p+0
39 For |x| in [0.5, 1.0], use the following development of acos(x) near x = 1
41 acos(x) ~ pi/2 - 2 * sqrt(z) (1 + z * P(z))
47 acos(0x1.23d362722f591p-1) got 0x1.edbbedf8a7d6ep-1
51 from their absolute value: acos(x) = pi - acos(-x). */
53 acos (double x)
84 /* acos(|x|) = pi/2 - sign(x) * Q(|x|), for |x| < 0.5
93 PL_SIG (S, D, 1, acos, -1.0, 1.0)
94 PL_TEST_ULP (acos, 1.02)
95 PL_TEST_INTERVAL (acos, 0, Small, 5000)
96 PL_TEST_INTERVAL (acos, Small, 0.5, 50000)
97 PL_TEST_INTERVAL (acos, 0.5, 1.0, 50000)
98 PL_TEST_INTERVAL (acos, 1.0, 0x1p11, 50000)
99 PL_TEST_INTERVAL (acos, 0x1p11, inf, 20000)
100 PL_TEST_INTERVAL (acos, -0, -inf, 20000)