Home
last modified time | relevance | path

Searched refs:acos (Results 1 – 25 of 207) sorted by relevance

123456789

/external/vulkan-validation-layers/libs/glm/gtx/
Dvector_angle.inl21 genType const Angle(acos(clamp(dot(x, y), genType(-1), genType(1))));
40 T const Angle(acos(clamp(dot(x, y), T(-1), T(1))));
63 T const Angle(acos(Dot));
66 T const Angle(degrees(acos(Dot)));
88 T const Angle(acos(Dot));
91 T const Angle(degrees(acos(Dot)));
/external/v8/test/mjsunit/
Dtranscendentals.js44 assertTrue(Math.acos(x) != Math.acos(y));
/external/crcalc/tests/src/com/hp/creals/
DSlowCRTest.java81 checkApprEq(x.acos().doubleValue(), Math.acos(xAsDouble), in checkTrig()
108 CR tmp = xcos.acos(); in checkTrig()
165 checkEq(ZERO.acos(), CR.PI.divide(TWO), "acos(0)"); in testSlowTrig()
166 checkEq(ONE.acos(), ZERO, "acos(1)"); in testSlowTrig()
167 checkEq(ONE.negate().acos(), CR.PI, "acos(-1)"); in testSlowTrig()
DCRTest.java112 UnaryCRFunction acos = UnaryCRFunction.acosFunction; in testCR() local
127 check_eq(acos.execute(one.cos()), one, "acos(cos(1) failed"); in testCR()
151 check_appr_eq(Math.acos(0.1*n), in testCR()
152 CR.valueOf(0.1*n).acos().doubleValue(), in testCR()
/external/v8/test/webkit/
Dmath-expected.txt40 PASS Math.acos(NaN) is NaN
41 PASS Math.acos(-0) is Math.acos(0)
42 PASS Math.acos(1) is 0
43 PASS Math.acos(1.1) is NaN
44 PASS Math.acos(-1.1) is NaN
45 PASS Math.acos(Infinity) is NaN
46 PASS Math.acos(-Infinity) is NaN
/external/vulkan-validation-layers/libs/glm/detail/
Dfunc_trigonometric.inl116 // acos
118 GLM_FUNC_QUALIFIER genType acos
123 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'acos' only accept floating-point inpu…
125 return genType(::std::acos(x));
128 VECTORIZE_VEC(acos) argument
/external/v8/test/mjsunit/wasm/
Dasm-wasm-stdlib.js59 var StdlibMathAcos = stdlib.Math.acos;
162 var acos = stdlib.Math.acos;
190 function acos_f64(x) { x = +x; return +acos(x); }
298 acos: ['f64'], property
/external/skia/src/animator/
DSkDisplayMath.cpp36 SK_FUNCTION(acos),
108 SK_MEMBER_FUNCTION(acos, Float),
145 case SK_FUNCTION(acos): in executeFunction()
/external/ceres-solver/internal/ceres/
Djet_test.cc283 ExpectJetsClose(cos(acos(a)), a); in TEST()
284 ExpectJetsClose(acos(cos(a)), a); in TEST()
287 ExpectJetsClose(cos(acos(b)), b); in TEST()
288 ExpectJetsClose(acos(cos(b)), b); in TEST()
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/
D__clang_cuda_math_forward_declares.h45 __DEVICE__ double acos(double);
46 __DEVICE__ float acos(float);
188 using ::acos;
/external/eigen/doc/snippets/
DCwise_acos.cpp2 cout << v.acos() << endl;
/external/eigen/demos/opengl/
Dgpuhelper.cpp67 float angle = 180.f/M_PI * acos(tmp.z()); in drawVector()
88 float angle = 180.f/M_PI * acos(tmp.z()); in drawVectorBox()
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DRotation.java571 return 2 * FastMath.acos(-q0); in getAngle()
573 return 2 * FastMath.acos(q0); in getAngle()
736 FastMath.acos(v2.getX()), in getAngles()
754 FastMath.acos(v2.getX()), in getAngles()
772 FastMath.acos(v2.getY()), in getAngles()
790 FastMath.acos(v2.getY()), in getAngles()
808 FastMath.acos(v2.getZ()), in getAngles()
826 FastMath.acos(v2.getZ()), in getAngles()
/external/eigen/unsupported/doc/examples/
DMatrixExponential.cpp8 const double pi = std::acos(-1.0); in main()
DMatrixPower.cpp8 const double pi = std::acos(-1.0); in main()
DMatrixFunction.cpp13 const double pi = std::acos(-1.0); in main()
DMatrixSquareRoot.cpp8 const double pi = std::acos(-1.0); in main()
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DQuaternion.java555 final float angle = (float)Math.acos(dot); in setFromCross()
569 final float angle = (float)Math.acos(dot); in setFromCross()
590 final float angle = (float)Math.acos(absDot); in slerp()
659 float theta = (float)Math.acos(w / norm); in exp()
778 float angle = (float)(2.0 * Math.acos(this.w)); in getAxisAngleRad()
799 return (float)(2.0 * Math.acos((this.w > 1) ? (this.w / len()) : this.w)); in getAngleRad()
850 …return MathUtils.isZero(l2) ? 0f : (float)(2.0 * Math.acos(MathUtils.clamp((float) (this.w / Math.… in getAngleAroundRad()
/external/llvm/test/CodeGen/ARM/
D2009-03-07-SpillerBug.ll18 declare double @acos(double) nounwind readonly
44 %19 = call double @acos(double %18) nounwind readonly
/external/valgrind/memcheck/tests/amd64/
Dmore_x87_fp.stdout.exp13 a=2.000000 acos(cos(a))=2.000000
27 a=1.400000 acos(cos(a))=1.400000
/external/valgrind/memcheck/tests/x86/
Dmore_x86_fp.stdout.exp14 a=2.000000 acos(cos(a))=2.000000
29 a=1.400000 acos(cos(a))=1.400000
/external/eigen/unsupported/Eigen/src/FFT/
Dei_kissfft_impl.h31 using std::acos; in make_twiddles()
34 Scalar phinc = (inverse?2:-2)* acos( (Scalar) -1) / nfft; in make_twiddles()
403 using std::acos; in real_twiddles()
408 Scalar pi = acos( Scalar(-1) ); in real_twiddles()
/external/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.transcend/
Dacos_valarray.pass.cpp46 std::valarray<T> v3 = acos(v1); in main()
/external/eigen/Eigen/src/Geometry/
DAngleAxis.h161 using std::acos;
173 m_angle = Scalar(2)*acos((min)((max)(Scalar(-1),q.w()),Scalar(1)));
/external/mesa3d/src/glsl/builtins/ir/
Dacos.ir1 ((function acos

123456789