Searched refs:acos (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-10-stable/contrib/netbsd-tests/lib/libm/
H A Dt_acos.c37 * acos(3) and acosf(3)
40 ATF_LIBM_TEST(acos_is_nan, "Test acos/acosf(x) == NaN, x = NaN, +/-Inf, ![-1..1]")
54 T_LIBM_CHECK_NAN(i, acos, x[i]);
62 ATF_LIBM_TEST(acos_inrange, "Test acos/acosf(x) for some valid values")
80 * Note that acos(x) might be calculated as atan2(sqrt(1-x*x),x).
81 * This means that acos(-1) is atan2(+0,-1), if the sign is wrong
86 T_LIBM_CHECK(i, acos, values[i].x, values[i].y, 1.0e-15);
93 T_LIBM_CHECK_PLUS_ZERO(0, acos, 1.0);
/freebsd-10-stable/lib/msun/tests/
H A Dinvtrig_test.c124 * Test special case inputs in asin(), acos() and atan(): signed
132 testall(acos, 0.0, pi / 2, FE_INEXACT);
135 testall(acos, -0.0, pi / 2, FE_INEXACT);
139 testall(acos, INFINITY, NAN, FE_INVALID);
142 testall(acos, -INFINITY, NAN, FE_INVALID);
146 testall(acos, NAN, NAN, 0);
237 * Test various inputs to asin(), acos() and atan() and verify that the
246 testall(acos, 1.0, 0, 0);
249 testall(acos, -1.0, pi, FE_INEXACT);
259 testall_tol(acos, sqrt
[all...]
H A Dinvctrig_test.c285 testall_tol(cacosh, z, CMPLXL(0.0, acos(nums[i])), 1);
314 * acos(z) = Pi/4 - i ln(2)/2
/freebsd-10-stable/contrib/libstdc++/include/c_compatibility/
H A Dmath.h36 using std::acos;
/freebsd-10-stable/contrib/libstdc++/libmath/
H A Dstubs.c58 return (float) acos(x);
66 return acos((double) x);
/freebsd-10-stable/contrib/libstdc++/include/c/
H A Dstd_cmath.h46 #undef acos macro
/freebsd-10-stable/contrib/libstdc++/include/tr1/
H A Dmath.h41 using std::tr1::acos;
/freebsd-10-stable/lib/msun/src/
H A De_acos.c19 * acos(x) = pi/2 - asin(x)
20 * acos(-x) = pi/2 + asin(x)
22 * acos(x) = pi/2 - (x + x*x^2*R(x^2)) (see asin.c)
24 * acos(x) = pi/2 - (pi/2 - 2asin(sqrt((1-x)/2)))
31 * acos(x) = pi - 2asin(sqrt((1-|x|)/2))
75 if(hx>0) return 0.0; /* acos(1) = 0 */
76 else return pi+2.0*pio2_lo; /* acos(-1)= pi */
78 return (x-x)/(x-x); /* acos(|x|>1) is NaN */
110 __weak_reference(acos, acosl);
H A Dcatrig.c411 rx = acos(B);
413 rx = acos(-B);
H A Dmath.h242 double acos(double);
H A Dmath_private.h684 #define __ieee754_acos acos
/freebsd-10-stable/contrib/gcc/
H A Dfp-test.c44 extern double acos (double);
228 d1 = acos (d2);
/freebsd-10-stable/contrib/libstdc++/include/c_std/
H A Dstd_cmath.h59 #undef acos macro
100 using ::acos;
103 acos(float __x) function
107 acos(long double __x) function
113 acos(_Tp __x) function
/freebsd-10-stable/lib/msun/
H A DSymbol.map9 acos;
H A DMakefile135 MAN= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 \
146 MLINKS+=acos.3 acosf.3 acos.3 acosl.3
/freebsd-10-stable/contrib/ntp/clockstuff/
H A Dpropdelay.c60 extern double acos (double);
390 dg = EARTHRADIUS * acos(
/freebsd-10-stable/tools/regression/include/tgmath/
H A Dtgmath.c78 TGMACRO(acos)
409 PRINT("acos",
410 PASS_REAL_ARG_REAL_RET(acos) &&
411 PASS_COMPLEX_ARG_COMPLEX_RET(acos));
/freebsd-10-stable/include/
H A Dtgmath.h141 #define acos(x) __tg_full(x, acos) macro
/freebsd-10-stable/usr.bin/xlint/llib/
H A Dllib-lstdc96 double (acos)(double x);
H A Dllib-lposix70 double (acos)(double x);
/freebsd-10-stable/contrib/libstdc++/src/
H A Dcompatibility.cc417 _GLIBCXX_MATHL_WRAPPER1 (acos, GLIBCXX_3.4.3);
/freebsd-10-stable/contrib/llvm/include/llvm/Target/
H A DTargetLibraryInfo.h92 /// double acos(double x);
93 acos, enumerator in enum:llvm::LibFunc::Func
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Headers/
H A Dtgmath.h63 // acos
71 __tg_acos(double __x) {return acos(__x);}
89 #undef acos macro
90 #define acos(__x) __tg_acos(__tg_promote1((__x))(__x)) macro
/freebsd-10-stable/contrib/libstdc++/include/bits/
H A Dvalarray_before.h85 { return acos(__t); }
/freebsd-10-stable/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp1228 return Name == "acos" || Name == "asin" || Name == "atan" || Name =="atan2";
1396 if (Name == "acos" && TLI->has(LibFunc::acos))
1397 return ConstantFoldFP(acos, V, Ty);

Completed in 125 milliseconds

12