| /src/external/lgpl3/mpfr/dist/src/ |
| acos.c | 27 mpfr_acos (mpfr_ptr acos, mpfr_srcptr x, mpfr_rnd_t rnd_mode) 38 ("acos[%Pd]=%.*Rg inexact=%d", 39 mpfr_get_prec(acos), mpfr_log_prec, acos, inexact)); 46 MPFR_SET_NAN (acos); 52 /* acos(0)=Pi/2 */ 54 inexact = mpfr_const_pi (acos, rnd_mode); 55 mpfr_div_2ui (acos, acos, 1, rnd_mode); /* exact */ 57 return mpfr_check_range (acos, inexact, rnd_mode) [all...] |
| /src/lib/libm/src/ |
| w_acos.c | 34 __weak_alias(acos, _acos) 37 acos(double x) /* wrapper acos */ 46 return __kernel_standard(x,x,1); /* acos(|x|>1) */
|
| namespace.h | 3 #define acos _acos macro
|
| /src/tests/lib/libm/ |
| 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);
|
| /src/lib/libm/noieee_src/ |
| n_asincos.c | 95 __weak_alias(acos, _acos) 121 /* ACOS(X) 136 * acos(x) = 2*atan2( / -------- , 1 ) . 146 * acos(x) returns (PI/pi) * (the exact arc cosine of x) nearly rounded; 162 * 2.07 ulps. (comparing against (PI/pi)*(exact acos(x))); 166 * acos(x) returns the exact acos(x) with error below about 2 ulps. 174 acos(double x) function 190 return (float)acos(x);
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/ |
| math_stubs_float.cc | 45 return (float) acos(x);
|
| math_stubs_long_double.cc | 45 return acos((double) x);
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++98/ |
| math_stubs_float.cc | 45 return (float) acos(x);
|
| math_stubs_long_double.cc | 45 return acos((double) x);
|
| /src/external/apache2/llvm/dist/clang/lib/Headers/ |
| __clang_cuda_math_forward_declares.h | 31 __DEVICE__ double acos(double); 32 __DEVICE__ float acos(float); 201 using ::acos;
|
| /src/external/lgpl3/mpc/dist/tests/ |
| Makefile.am | 57 DESCRIPTIONS = abs.dsc acos.dsc acosh.dsc add.dsc add_fr.dsc add_si.dsc \ 68 DATA_SETS = abs.dat acos.dat acosh.dat add.dat add_fr.dat agm.dat \
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/stdc/ |
| tgmath.d | 29 alias core.stdc.math.acos acos; 31 alias core.stdc.math.acosf acos; 33 alias core.stdc.math.acosl acos; 36 deprecated alias core.stdc.complex.cacos acos; 37 deprecated alias core.stdc.complex.cacosf acos; 38 deprecated alias core.stdc.complex.cacosl acos; 529 alias core.stdc.math.acos acos; 531 alias core.stdc.math.acosf acos; [all...] |
| /src/external/gpl3/gcc/dist/gcc/ |
| fp-test.cc | 43 extern double acos (double); 227 d1 = acos (d2);
|
| /src/external/gpl3/gcc/dist/gcc/ginclude/ |
| tgmath.h | 61 #define acos(z) __TGMATH_CPLX(z, acos, cacos) macro
|
| /src/external/gpl3/gcc.old/dist/gcc/ |
| fp-test.cc | 43 extern double acos (double); 227 d1 = acos (d2);
|
| /src/external/gpl3/gcc.old/dist/gcc/ginclude/ |
| tgmath.h | 61 #define acos(z) __TGMATH_CPLX(z, acos, cacos) macro
|
| /src/external/lgpl3/mpc/dist/src/ |
| Makefile.am | 22 libmpc_la_SOURCES = mpc-impl.h abs.c acos.c acosh.c add.c add_fr.c \
|
| logging.c | 126 MPC_LOGGING_C_C (acos)
|
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/math/ |
| trigonometry.d | 552 * $(TR $(TH x) $(TH acos(x)) $(TH invalid?)) 558 real acos(real x) @safe pure nothrow @nogc 566 double acos(double x) @safe pure nothrow @nogc { return acos(cast(real) x); } 569 float acos(float x) @safe pure nothrow @nogc { return acos(cast(real) x); } 578 assert(acos(0.0).isClose(1.570796327)); 579 assert(acos(0.5).isClose(PI / 3)); 580 assert(acos(PI).isNaN); 588 assert(isClose(acos(0.5), PI / 3, real.sizeof > double.sizeof ? 1e-15 : 1e-14)) [all...] |
| /src/tests/lib/lua/libm/ |
| h_lualibm.c | 25 TEST(acos(cos(M_PI_2)));
|
| lualibm.lua | 31 test("acos(cos(M_PI_2))", lm.acos(lm.cos(lm.M_PI_2)))
|
| /src/external/lgpl3/mpc/dist/tools/mpcheck/ |
| mpcheck-double.c | 92 #define FOO acos
|
| mpcheck-float.c | 104 #define FOO acos
|
| mpcheck-float128.c | 109 #define FOO acos
|
| mpcheck-longdouble.c | 92 #define FOO acos
|