/freebsd-13-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-13-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-13-stable/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_cuda_math_forward_declares.h | 31 __DEVICE__ double acos(double); 32 __DEVICE__ float acos(float); 198 using ::acos;
|
H A D | __clang_cuda_cmath.h | 45 __DEVICE__ float acos(float __x) { return ::acosf(__x); } function 199 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, acos) 326 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
|
H A D | __clang_cuda_math.h | 58 __DEVICE__ double acos(double __a) { return __nv_acos(__a); } function
|
H A D | __clang_hip_math.h | 557 inline double acos(double __x) { return __ocml_acos_f64(__x); } function 1071 __DEF_FUN1(double, acos)
|
H A D | opencl-c.h | 6531 float __ovld __cnfn acos(float); 6532 float2 __ovld __cnfn acos(float2); 6533 float3 __ovld __cnfn acos(float3); 6534 float4 __ovld __cnfn acos(float4); 6535 float8 __ovld __cnfn acos(float8); 6536 float16 __ovld __cnfn acos(float16); 6538 double __ovld __cnfn acos(double); 6539 double2 __ovld __cnfn acos(double2); 6540 double3 __ovld __cnfn acos(double3); 6541 double4 __ovld __cnfn acos(double [all...] |
/freebsd-13-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-13-stable/contrib/ntp/clockstuff/ |
H A D | propdelay.c | 60 extern double acos (double); 390 dg = EARTHRADIUS * acos(
|
/freebsd-13-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-13-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-13-stable/include/ |
H A D | tgmath.h | 143 #define acos(x) __tg_full(x, acos) macro
|
/freebsd-13-stable/contrib/llvm-project/libcxx/include/ |
H A D | math.h | 46 floating_point acos (arithmetic x); 768 // acos 771 inline _LIBCPP_INLINE_VISIBILITY float acos(float __lcpp_x) _NOEXCEPT {return ::acosf(__lcpp_x);} 772 inline _LIBCPP_INLINE_VISIBILITY long double acos(long double __lcpp_x) _NOEXCEPT {return ::acosl(__lcpp_x);} 778 acos(_A1 __lcpp_x) _NOEXCEPT {return ::acos((double)__lcpp_x);}
|
/freebsd-13-stable/contrib/lua/src/ |
H A D | lmathlib.c | 61 lua_pushnumber(L, l_mathop(acos)(luaL_checknumber(L, 1))); 706 {"acos", math_acos},
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULibCalls.cpp | 1457 Res0 = acos(opr0); 1466 Res0 = acos(opr0) / MATH_PI;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 1556 return Name == "acos" || Name == "acosf" || 2020 return ConstantFoldFP(acos, V, Ty);
|