Home
last modified time | relevance | path

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

12345

/third_party/musl/src/math/i386/
H A Dacos.s1 # use acos(x) = atan2(fabs(sqrt((1-x)*(1+x))), x)
3 .global acos
4 .type acos,@function
5 acos: label
/third_party/jerryscript/tools/unit-tests/
H A Dgen-test-libm.c54 /* acos tests */ in main()
55 GEN_DBL_TEST (acos (0.0)); in main()
56 GEN_DBL_TEST (acos (-0.0)); in main()
57 GEN_DBL_TEST (acos (1.0)); in main()
58 GEN_DBL_TEST (acos (-1.0)); in main()
59 GEN_DBL_TEST (acos (0.5)); in main()
60 GEN_DBL_TEST (acos (-0.5)); in main()
61 GEN_DBL_TEST (acos (INFINITY)); in main()
62 GEN_DBL_TEST (acos (-INFINITY)); in main()
63 GEN_DBL_TEST (acos (NA in main()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
H A Dmath_acos_test.cpp17 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the acos interface.
24 bool testResult = DoubleUlpCmp(g_acosData[i].expected, acos(g_acosData[i].input), 1); in HWTEST_F()
31 * @tc.desc: When the parameter of acos is valid, test the return value of the function.
36 EXPECT_DOUBLE_EQ(0.0, acos(1.0)); in HWTEST_F()
/third_party/musl/libc-test/src/api/
H A Dtgmath.c6 #ifdef acos in f()
7 {double r = acos(x);} in f()
9 #error no acos(x) in f()
/third_party/ltp/testcases/misc/math/float/
H A Dfloat_trigo.c29 {FUNC_NORMAL, 50, acos, "acos", "dacos", "racos",
/third_party/musl/src/math/x32/
H A Dacosl.s1 # see ../i386/acos.s
/third_party/musl/src/math/x86_64/
H A Dacosl.s1 # see ../i386/acos.s
/third_party/jerryscript/jerry-libm/include/
H A Dmath.h54 double acos (double);
/third_party/node/deps/v8/src/base/
H A Dieee754.h15 V8_BASE_EXPORT double acos(double x);
/third_party/musl/src/math/
H A Dacosl.c13 * See comments in acos.c.
22 return acos(x); in acosl()
H A Dacos.c12 /* acos(x)
14 * acos(x) = pi/2 - asin(x)
15 * acos(-x) = pi/2 + asin(x)
17 * acos(x) = pi/2 - (x + x*x^2*R(x^2)) (see asin.c)
19 * acos(x) = pi/2 - (pi/2 - 2asin(sqrt((1-x)/2)))
26 * acos(x) = pi - 2asin(sqrt((1-|x|)/2))
60 double acos(double x) in acos() function
73 /* acos(1)=0, acos(-1)=pi */ in acos()
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dacosl.c13 * See comments in acos.c.
22 return acos(x); in acosl()
H A Dacos.c12 /* acos(x)
14 * acos(x) = pi/2 - asin(x)
15 * acos(-x) = pi/2 + asin(x)
17 * acos(x) = pi/2 - (x + x*x^2*R(x^2)) (see asin.c)
19 * acos(x) = pi/2 - (pi/2 - 2asin(sqrt((1-x)/2)))
26 * acos(x) = pi - 2asin(sqrt((1-|x|)/2))
60 double acos(double x) in acos() function
73 /* acos(1)=0, acos(-1)=pi */ in acos()
/third_party/musl/libc-test/src/math/
H A Dacos.c6 #include "crlibm/acos.h"
7 #include "ucb/acos.h"
8 #include "sanity/acos.h"
9 #include "special/acos.h"
28 y = acos(p->x); in main()
32 printf("%s:%d: bad fp exception: %s acos(%a)=%a, want %s", in main()
39 printf("%s:%d: %s acos(%a) want %a got %a ulperr %.3f = %a + %a\n", in main()
/third_party/musl/porting/uniproton/kernel/include/
H A Dtgmath.h146 #undef acos macro
209 #define acos(x) __tg_real_complex(acos, (x)) macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dtgmath.h146 #undef acos macro
209 #define acos(x) __tg_real_complex(acos, (x)) macro
/third_party/musl/include/
H A Dtgmath.h146 #undef acos macro
209 #define acos(x) __tg_real_complex(acos, (x)) macro
/third_party/jerryscript/jerry-libm/
H A Djerry-libm-internal.h83 double acos (double x);
H A Dacos.c30 /* acos(x)
33 * acos(x) = pi/2 - asin(x)
34 * acos(-x) = pi/2 + asin(x)
36 * acos(x) = pi/2 - (x + x*x^2*R(x^2)) (see asin.c)
38 * acos(x) = pi/2 - (pi/2 - 2asin(sqrt((1-x)/2)))
45 * acos(x) = pi - 2asin(sqrt((1-|x|)/2))
71 acos (double x) in acos() function
82 if (hx > 0) /* acos(1) = 0 */ in acos()
86 else /* acos(-1) = pi */ in acos()
91 return NAN; /* acos(| in acos()
[all...]
/third_party/ltp/testcases/misc/math/float/trigo/
H A Dgenacos.c54 tabRacos[i] = acos((Inc * i) - 1); in create_Result_file()
110 ("problem during acos data file creation\n"); in main()
118 ("problem during acos result file creation\n"); in main()
127 printf("problem during acos data file creation\n"); in main()
129 printf("problem during acos result file creation\n"); in main()
/third_party/ffmpeg/libavfilter/tests/
H A Ddnn-layer-mathunary.c44 return acos(f); in get_expected()
/third_party/ffmpeg/tests/dnn/
H A Ddnn-layer-mathunary-test.c44 return acos(f); in get_expected()
/third_party/node/deps/v8/src/asmjs/
H A Dasm-names.h21 V(acos, Acos, kExprF64Acos, dq2d) \
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
H A Dfunc_trigonometric.hpp89 /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/acos.xml">GLSL acos man page</a>
92 GLM_FUNC_DECL vecType<T, P> acos(vecType<T, P> const & x);
/third_party/skia/src/sksl/
H A DSkSLIntrinsicList.h16 SKSL_INTRINSIC(acos) \

Completed in 9 milliseconds

12345