/freebsd-12-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-12-stable/lib/msun/tests/ |
H A D | invtrig_test.c | 123 * Test special case inputs in asin(), acos() and atan(): signed 131 testall(acos, 0.0, pi / 2, FE_INEXACT); 134 testall(acos, -0.0, pi / 2, FE_INEXACT); 138 testall(acos, INFINITY, NAN, FE_INVALID); 141 testall(acos, -INFINITY, NAN, FE_INVALID); 145 testall(acos, NAN, NAN, 0); 236 * Test various inputs to asin(), acos() and atan() and verify that the 245 testall(acos, 1.0, 0, 0); 248 testall(acos, -1.0, pi, FE_INEXACT); 258 testall_tol(acos, sqrt [all...] |
H A D | invctrig_test.c | 286 testall_tol(cacosh, z, CMPLXL(0.0, acos(nums[i])), 1); 315 * acos(z) = Pi/4 - i ln(2)/2
|
/freebsd-12-stable/contrib/libstdc++/include/c_compatibility/ |
H A D | math.h | 36 using std::acos;
|
/freebsd-12-stable/contrib/libstdc++/libmath/ |
H A D | stubs.c | 58 return (float) acos(x); 66 return acos((double) x);
|
/freebsd-12-stable/contrib/libstdc++/include/c/ |
H A D | std_cmath.h | 46 #undef acos macro
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_cuda_math_forward_declares.h | 54 __DEVICE__ double acos(double); 55 __DEVICE__ float acos(float); 224 using ::acos;
|
H A D | __clang_cuda_cmath.h | 59 __DEVICE__ float acos(float __x) { return ::acosf(__x); } function 212 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, acos) 339 using ::acos;
|
H A D | tgmath.h | 56 // acos 64 __tg_acos(double __x) {return acos(__x);} 82 #undef acos macro 83 #define acos(__x) __tg_acos(__tg_promote1((__x))(__x)) macro
|
/freebsd-12-stable/contrib/libstdc++/include/tr1/ |
H A D | math.h | 41 using std::tr1::acos;
|
/freebsd-12-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 | 413 rx = acos(B); 415 rx = acos(-B);
|
H A D | math.h | 237 double acos(double);
|
H A D | math_private.h | 832 #define __ieee754_acos acos
|
/freebsd-12-stable/contrib/gcc/ |
H A D | fp-test.c | 44 extern double acos (double); 228 d1 = acos (d2);
|
/freebsd-12-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-12-stable/contrib/ntp/clockstuff/ |
H A D | propdelay.c | 60 extern double acos (double); 390 dg = EARTHRADIUS * acos(
|
/freebsd-12-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-12-stable/lib/msun/ |
H A D | Makefile | 155 MAN= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 \ 168 MLINKS+=acos.3 acosf.3 acos.3 acosl.3
|
/freebsd-12-stable/include/ |
H A D | tgmath.h | 143 #define acos(x) __tg_full(x, acos) macro
|
/freebsd-12-stable/contrib/lua/src/ |
H A D | lmathlib.c | 71 lua_pushnumber(L, l_mathop(acos)(luaL_checknumber(L, 1))); 354 {"acos", math_acos},
|
/freebsd-12-stable/contrib/libstdc++/src/ |
H A D | compatibility.cc | 417 _GLIBCXX_MATHL_WRAPPER1 (acos, GLIBCXX_3.4.3);
|
/freebsd-12-stable/contrib/llvm-project/libcxx/include/ |
H A D | math.h | 46 floating_point acos (arithmetic x); 819 // acos 822 inline _LIBCPP_INLINE_VISIBILITY float acos(float __lcpp_x) _NOEXCEPT {return ::acosf(__lcpp_x);} 823 inline _LIBCPP_INLINE_VISIBILITY long double acos(long double __lcpp_x) _NOEXCEPT {return ::acosl(__lcpp_x);} 829 acos(_A1 __lcpp_x) _NOEXCEPT {return ::acos((double)__lcpp_x);}
|
/freebsd-12-stable/contrib/libstdc++/include/bits/ |
H A D | valarray_before.h | 85 { return acos(__t); }
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULibCalls.cpp | 1461 Res0 = acos(opr0); 1470 Res0 = acos(opr0) / MATH_PI;
|