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

123

/openbsd-current/lib/libm/arch/amd64/
H A De_asin.S11 /* asin = atan (x / sqrt(1 - x^2)) */
12 ENTRY(asin)
13 RETGUARD_SETUP(asin, r11)
23 RETGUARD_CHECK(asin, r11)
25 END_STD(asin)
/openbsd-current/lib/libm/arch/i387/
H A De_asin.S9 /* asin = atan (x / sqrt(1 - x^2)) */
10 ENTRY(asin)
19 END_STD(asin)
/openbsd-current/regress/lib/libm/fpaccuracy/
H A Dasin.c1 /* $OpenBSD: asin.c,v 1.1 2009/04/09 01:24:43 martynas Exp $ */
25 #define F asin
26 #define Fs "asin"
H A DMakefile4 SRCS = Gamma.c INV.c Pix.c acos.c acosh.c asin.c asinh.c atan.c \
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D990413-2.c34 asin (double __x) function
45 x = asin (x);
/openbsd-current/lib/libm/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
110 DEF_STD(asin); variable
111 LDBL_MAYBE_CLONE(asin); variable
[all...]
H A Ds_casin.c73 w = asin (x) + 0.0 * I;
/openbsd-current/regress/lib/libm/cephes/
H A Dmonot.c49 double asin (double);
154 {"asin", asin, 3.82683432365089615246E-1, 3.92684936523437500000E-1,
156 {"asin", asin, 0.5, 5.23590087890625000000E-1,
158 {"asin", asin, 7.07106781186547461715E-1, 7.85385131835937500000E-1,
160 {"asin", asin, 9.23879532511286738483E-1, 1.17808532714843750000E0,
162 {"asin", asi
[all...]
H A Dtestvect.c58 double asin (double);
116 {"asin", asin, &NAN, &NAN, 0},
117 {"asin", asin, &ZERO, &ZERO, 0},
118 {"asin", asin, &MZERO, &MZERO, 0},
119 {"asin", asin, &TWO, &NAN, 0},
120 {"asin", asi
[all...]
/openbsd-current/regress/lib/libm/msun/
H A Dinvtrig_test.c124 * Test special case inputs in asin(), acos() and atan(): signed
131 testall(asin, 0.0, 0.0, 0);
134 testall(asin, -0.0, -0.0, 0);
138 testall(asin, INFINITY, NAN, FE_INVALID);
141 testall(asin, -INFINITY, NAN, FE_INVALID);
145 testall(asin, NAN, NAN, 0);
237 * Test various inputs to asin(), acos() and atan() and verify that the
245 testall(asin, 1.0, pi / 2, FE_INEXACT);
248 testall(asin, -1.0, -pi / 2, FE_INEXACT);
258 testall_tol(asin, sqrt
[all...]
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/26_numerics/
H A Dvalarray_name_lookup.cc77 Number asin(Number);
109 v = asin(u);
/openbsd-current/gnu/gcc/libstdc++-v3/include/c_compatibility/
H A Dmath.h37 using std::asin;
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/c_compatibility/
H A Dmath.h37 using std::asin;
/openbsd-current/gnu/usr.bin/perl/ext/POSIX/t/
H A Dmath.t26 is(asin(0), 0, "Basic asin(0) test");
27 cmp_ok(asin(1), '>', 1.57, "Basic asin(1) test");
28 cmp_ok(asin(-1), '<', -1.57, "Basic asin(-1) test");
29 cmp_ok(asin(1), '==', -asin(-1), 'asin(1) == -asin(
[all...]
/openbsd-current/gnu/gcc/libstdc++-v3/libmath/
H A Dstubs.c75 return (float) asin(x);
83 return asin((double) x);
/openbsd-current/gnu/gcc/libstdc++-v3/include/c/
H A Dstd_cmath.h47 #undef asin macro
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/c/
H A Dstd_cmath.h47 #undef asin macro
/openbsd-current/gnu/llvm/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h35 __DEVICE__ double asin(double);
36 __DEVICE__ float asin(float);
203 using ::asin;
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/c_std/
H A Dstd_cmath.h58 #undef asin macro
208 using ::asin;
212 asin(float __x) { return __gnu_cxx::__c99_binding::asinf(__x); } function in namespace:std
215 asin(float __x) { return ::asin(static_cast<double>(__x)); }
220 asin(long double __x) { return ::asinl(__x); } function in namespace:std
223 asin(long double __x) { return ::asin(static_cast<double>(__x)); } function in namespace:std
228 asin(_Tp __x) function in namespace:std
229 { return ::asin(static_cas
[all...]
/openbsd-current/gnu/usr.bin/perl/dist/Math-Complex/t/
H A DTrig.t50 ok(near(asin(1), 1.5707963267949));
83 $x = asin(2);
389 is(asin_real(-0.5), asin(-0.5));
390 is(asin_real( 0.0), asin( 0.0));
391 is(asin_real( 0.5), asin( 0.5));
/openbsd-current/gnu/gcc/libstdc++-v3/include/tr1/
H A Dmath.h43 using std::tr1::asin;
/openbsd-current/gnu/gcc/gcc/
H A Dfp-test.c45 extern double asin (double);
229 d1 = asin (d2);
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dfp-test.c45 extern double asin (double);
229 d1 = asin (d2);
/openbsd-current/gnu/gcc/libstdc++-v3/include/c_std/
H A Dstd_cmath.h60 #undef asin macro
116 using ::asin;
119 asin(float __x) function
123 asin(long double __x) function
129 asin(_Tp __x) function
/openbsd-current/gnu/usr.bin/perl/dist/Math-Complex/lib/Math/
H A DTrig.pm97 # acos and asin functions which always return a real number
109 return asin($_[0]);
252 $z = asin(2.4);
292 B<asin>, B<acos>, B<atan>
372 C<asin(2)> has no definition for plain real numbers but it has
386 print asin(2), "\n";
697 =head2 Real-valued asin and acos
699 For small inputs asin() and acos() may return complex numbers even
713 The formulas used to compute asin() and acos() are quite sensitive to
751 cannot be completely avoided if we want things like C<asin(
[all...]

Completed in 182 milliseconds

123