Lines Matching refs:asin
2 * Double-precision asin(x) function.
21 /* Fast implementation of double-precision asin(x) based on polynomial
24 For x < Small, approximate asin(x) by x. Small = 2^-26 for correct rounding.
27 approximation is an odd polynomial: asin(x) ~ x + x^3 P(x^2).
30 asin(0x1.da9735b5a9277p-2) got 0x1.ed78525a927efp-2
38 asin(x) = pi/2 - acos(x)
44 The Taylor series of asin(z) near z = 0, reads as
46 asin(z) ~ z + z^3 P(z^2) = z + z^3 * (1/6 + 3/40 z^2 + ...).
48 Therefore, (1) can be written in terms of P(y/2) or even asin(y/2)
54 asin(x) ~ pi/2 - acos(x) ~ pi/2 - 2 * sqrt(z) (1 + z * P(z)).
57 asin(0x1.044ac9819f573p-1) got 0x1.110d7e85fdd5p-1
60 asin (double x)
91 /* asin(|x|) = Q(|x|) , for |x| < 0.5
99 PL_SIG (S, D, 1, asin, -1.0, 1.0)
100 PL_TEST_ULP (asin, 2.19)
101 PL_TEST_INTERVAL (asin, 0, Small, 5000)
102 PL_TEST_INTERVAL (asin, Small, 0.5, 50000)
103 PL_TEST_INTERVAL (asin, 0.5, 1.0, 50000)
104 PL_TEST_INTERVAL (asin, 1.0, 0x1p11, 50000)
105 PL_TEST_INTERVAL (asin, 0x1p11, inf, 20000)
106 PL_TEST_INTERVAL (asin, -0, -inf, 20000)