/freebsd-10-stable/contrib/netbsd-tests/lib/libm/ |
H A D | t_acos.c | 37 * 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 D | invtrig_test.c | 124 * 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 D | invctrig_test.c | 285 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 D | math.h | 36 using std::acos;
|
/freebsd-10-stable/contrib/libstdc++/libmath/ |
H A D | stubs.c | 58 return (float) acos(x); 66 return acos((double) x);
|
/freebsd-10-stable/contrib/libstdc++/include/c/ |
H A D | std_cmath.h | 46 #undef acos macro
|
/freebsd-10-stable/contrib/libstdc++/include/tr1/ |
H A D | math.h | 41 using std::tr1::acos;
|
/freebsd-10-stable/lib/msun/src/ |
H A D | e_acos.c | 19 * 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 D | catrig.c | 411 rx = acos(B); 413 rx = acos(-B);
|
H A D | math.h | 242 double acos(double);
|
H A D | math_private.h | 684 #define __ieee754_acos acos
|
/freebsd-10-stable/contrib/gcc/ |
H A D | fp-test.c | 44 extern double acos (double); 228 d1 = acos (d2);
|
/freebsd-10-stable/contrib/libstdc++/include/c_std/ |
H A D | std_cmath.h | 59 #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 D | Symbol.map | 9 acos;
|
H A D | Makefile | 135 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 D | propdelay.c | 60 extern double acos (double); 390 dg = EARTHRADIUS * acos(
|
/freebsd-10-stable/tools/regression/include/tgmath/ |
H A D | tgmath.c | 78 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 D | tgmath.h | 141 #define acos(x) __tg_full(x, acos) macro
|
/freebsd-10-stable/usr.bin/xlint/llib/ |
H A D | llib-lstdc | 96 double (acos)(double x);
|
H A D | llib-lposix | 70 double (acos)(double x);
|
/freebsd-10-stable/contrib/libstdc++/src/ |
H A D | compatibility.cc | 417 _GLIBCXX_MATHL_WRAPPER1 (acos, GLIBCXX_3.4.3);
|
/freebsd-10-stable/contrib/llvm/include/llvm/Target/ |
H A D | TargetLibraryInfo.h | 92 /// double acos(double x); 93 acos, enumerator in enum:llvm::LibFunc::Func
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Headers/ |
H A D | tgmath.h | 63 // 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 D | valarray_before.h | 85 { return acos(__t); }
|
/freebsd-10-stable/contrib/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 1228 return Name == "acos" || Name == "asin" || Name == "atan" || Name =="atan2"; 1396 if (Name == "acos" && TLI->has(LibFunc::acos)) 1397 return ConstantFoldFP(acos, V, Ty);
|