Searched refs:asin (Results 1 - 25 of 33) sorted by relevance

12

/freebsd-current/contrib/arm-optimized-routines/pl/math/
H A Dasin_3u.c2 * 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(
60 asin (double x) function
[all...]
H A Dsv_asinf_2u5.c2 * Single-precision SVE asin(x) function.
18 /* Polynomial approximation of (asin(sqrt(x)) - sqrt(x)) / (x * sqrt(x)) on
25 /* Single-precision SVE implementation of vector asin(x).
28 approximation is an odd polynomial: asin(x) ~ x + x^3 P(x^2).
36 asin(x) = pi/2 - (y + y * z * P(z)), with z = (1-x)/2 and y = sqrt(z).
41 svfloat32_t SV_NAME_F1 (asin) (svfloat32_t x, const svbool_t pg) function
62 /* asin(|x|) = Q(|x|) , for |x| < 0.5
70 PL_SIG (SV, F, 1, asin, -1.0, 1.0)
71 PL_TEST_ULP (SV_NAME_F1 (asin), 1.91)
72 PL_TEST_INTERVAL (SV_NAME_F1 (asin),
[all...]
H A Dv_asin_3u.c2 * Double-precision vector asin(x) function.
19 /* Polynomial approximation of (asin(sqrt(x)) - sqrt(x)) / (x * sqrt(x))
39 return v_call_f64 (asin, x, y, special);
43 /* Double-precision implementation of vector asin(x).
45 For |x| < Small, approximate asin(x) by x. Small = 2^-12 for correct
50 approximation is an odd polynomial: asin(x) ~ x + x^3 P(x^2).
58 asin(x) = pi/2 - (y + y * z * P(z)), with z = (1-x)/2 and y = sqrt(z).
63 float64x2_t VPCS_ATTR V_NAME_D1 (asin) (float64x2_t x) function
97 /* asin(|x|) = Q(|x|) , for |x| < 0.5
105 PL_SIG (V, D, 1, asin,
[all...]
H A Dsv_asin_3u.c2 * Double-precision SVE asin(x) function.
18 /* Polynomial approximation of (asin(sqrt(x)) - sqrt(x)) / (x * sqrt(x))
31 /* Double-precision SVE implementation of vector asin(x).
34 approximation is an odd polynomial: asin(x) ~ x + x^3 P(x^2).
42 asin(x) = pi/2 - (y + y * z * P(z)), with z = (1-x)/2 and y = sqrt(z).
47 svfloat64_t SV_NAME_D1 (asin) (svfloat64_t x, const svbool_t pg) function
70 /* asin(|x|) = Q(|x|) , for |x| < 0.5
78 PL_SIG (SV, D, 1, asin, -1.0, 1.0)
79 PL_TEST_ULP (SV_NAME_D1 (asin), 2.19)
80 PL_TEST_INTERVAL (SV_NAME_D1 (asin),
[all...]
H A Dv_asinf_2u5.c2 * Single-precision vector asin(x) function.
18 /* Polynomial approximation of (asin(sqrt(x)) - sqrt(x)) / (x * sqrt(x)) on
38 /* Single-precision implementation of vector asin(x).
40 For |x| < Small, approximate asin(x) by x. Small = 2^-12 for correct
45 approximation is an odd polynomial: asin(x) ~ x + x^3 P(x^2).
52 asin(x) = pi/2 - (y + y * z * P(z)), with z = (1-x)/2 and y = sqrt(z).
56 float32x4_t VPCS_ATTR V_NAME_F1 (asin) (float32x4_t x) function
87 /* asin(|x|) = Q(|x|) , for |x| < 0.5
96 PL_SIG (V, F, 1, asin, -1.0, 1.0)
97 PL_TEST_ULP (V_NAME_F1 (asin), 1.9
[all...]
H A Dasinf_2u5.c2 * Single-precision asin(x) function.
21 /* Fast implementation of single-precision asin(x) based on polynomial
24 For x < Small, approximate asin(x) by x. Small = 2^-12 for correct rounding.
27 approximation is an odd polynomial: asin(x) ~ x + x^3 P(x^2).
37 asin(x) = pi/2 - acos(x)
43 The Taylor series of asin(z) near z = 0, reads as
45 asin(z) ~ z + z^3 P(z^2) = z + z^3 * (1/6 + 3/40 z^2 + ...).
47 Therefore, (1) can be written in terms of P(y/2) or even asin(y/2)
53 asin(x) ~ pi/2 - acos(x) ~ pi/2 - 2 * sqrt(z) (1 + z * P(z)).
85 /* asin(|
[all...]
/freebsd-current/contrib/llvm-project/libcxx/include/__math/
H A Dinverse_trigonometric_functions.h43 // asin
45 inline _LIBCPP_HIDE_FROM_ABI float asin(float __x) _NOEXCEPT { return __builtin_asinf(__x); }
48 _LIBCPP_HIDE_FROM_ABI double asin(double __x) _NOEXCEPT {
52 inline _LIBCPP_HIDE_FROM_ABI long double asin(long double __x) _NOEXCEPT { return __builtin_asinl(__x); }
55 inline _LIBCPP_HIDE_FROM_ABI double asin(_A1 __x) _NOEXCEPT {
/freebsd-current/contrib/netbsd-tests/lib/libm/
H A Dt_asin.c51 * asin(3)
56 atf_tc_set_md_var(tc, "descr", "Test asin(NaN) == NaN");
63 if (isnan(asin(x)) == 0)
64 atf_tc_fail_nonfatal("asin(NaN) != NaN");
70 atf_tc_set_md_var(tc, "descr", "Test asin(-Inf) == NaN");
77 if (isnan(asin(x)) == 0)
78 atf_tc_fail_nonfatal("asin(-Inf) != NaN");
84 atf_tc_set_md_var(tc, "descr", "Test asin(+Inf) == NaN");
91 if (isnan(asin(x)) == 0)
92 atf_tc_fail_nonfatal("asin(
[all...]
/freebsd-current/lib/msun/tests/
H A Dinvtrig_test.c122 * Test special case inputs in asin(), acos() and atan(): signed
129 testall(asin, 0.0, 0.0, 0);
132 testall(asin, -0.0, -0.0, 0);
136 testall(asin, INFINITY, NAN, FE_INVALID);
139 testall(asin, -INFINITY, NAN, FE_INVALID);
143 testall(asin, NAN, NAN, 0);
235 * Test various inputs to asin(), acos() and atan() and verify that the
243 testall(asin, 1.0, pi / 2, FE_INEXACT);
246 testall(asin, -1.0, -pi / 2, FE_INEXACT);
256 testall_tol(asin, sqrt
[all...]
/freebsd-current/lib/msun/src/
H A De_asin.c13 /* asin(x)
15 * Since asin(x) = x + x^3/6 + x^5*3/40 + x^7*15/336 + ...
16 * we approximate asin(x) on [0,0.5] by
17 * asin(x) = x + x*x^2*R(x^2)
19 * R(x^2) is a rational approximation of (asin(x)-x)/x^3
21 * |(asin(x)-x)/x^3 - R(x^2)| < 2^(-58.75)
24 * asin(x) = pi/2-2*asin(sqrt((1-x)/2))
27 * asin(x) = pi/2 - 2*(s+s*z*R(z))
33 * asin(
67 asin(double x) function
[all...]
H A Dmath.h242 double asin(double);
H A Dcatrig.c92 * casinh(z) = sign(x)*log(A+sqrt(A*A-1)) + I*asin(B)
110 * asin(B) = atan2(y, sqrt(A*A - y*y)) = atan2(y, sqrt((A+y)*(A-y)))
324 ry = asin(B);
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h35 __DEVICE__ double asin(double);
36 __DEVICE__ float asin(float);
203 using ::asin;
H A D__clang_cuda_cmath.h46 __DEVICE__ float asin(float __x) { return ::asinf(__x); } function
243 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, asin)
370 using ::asin;
H A Dtgmath.h85 // asin
93 __tg_asin(double __x) {return asin(__x);}
111 #undef asin macro
112 #define asin(__x) __tg_asin(__tg_promote1((__x))(__x)) macro
H A D__clang_hip_cmath.h207 __DEF_FUN1(float, asin)
483 __HIP_OVERLOAD1(double, asin)
653 using ::asin;
H A D__clang_cuda_math.h62 __DEVICE__ double asin(double __a) { return __nv_asin(__a); } function
/freebsd-current/tools/regression/include/tgmath/
H A Dtgmath.c77 TGMACRO(asin)
411 PRINT("asin",
412 PASS_REAL_ARG_REAL_RET(asin) &&
413 PASS_COMPLEX_ARG_COMPLEX_RET(asin));
/freebsd-current/lib/msun/
H A DMakefile172 MAN= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 \
188 MLINKS+=asin.3 asinf.3 asin.3 asinl.3
/freebsd-current/include/
H A Dtgmath.h142 #define asin(x) __tg_full(x, asin) macro
/freebsd-current/contrib/llvm-project/libcxx/include/
H A Dmath.h50 floating_point asin (arithmetic x);
446 using std::__math::asin;
/freebsd-current/contrib/arm-optimized-routines/pl/math/include/
H A Dmathlib.h35 double asin (double);
/freebsd-current/contrib/arm-optimized-routines/math/tools/
H A Dremez.jl821 pi = 2*asin(BigFloat(1))
964 test(approx_eq(x, asin(BigFloat(1))))
/freebsd-current/usr.bin/calendar/
H A Dsunpos.c51 #define ASIN(x) (R2D(asin(x)))
/freebsd-current/contrib/lua/src/
H A Dlmathlib.c56 lua_pushnumber(L, l_mathop(asin)(luaL_checknumber(L, 1)));
708 {"asin", math_asin},

Completed in 245 milliseconds

12