/prebuilts/ndk/current/sources/cxx-stl/stlport/stlport/stl/ |
_cmath.h | 340 //We have to tell the compilers that abs, acos ... math functions are not intrinsic 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 361 _STLP_DMATH_INLINE(acos) 432 _STLP_DEF_MATH_INLINE(acos, acos) 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 554 using ::acos;
|
/ndk/tests/device/test-gnustl-full/unit/ |
cmath_test.cpp | 101 CPPUNIT_CHECK( are_equals(std::cos(std::acos(1.0)), 1.0) ); 126 CPPUNIT_CHECK( are_equals(std::cos(std::acos(1.0f)), 1.0f) ); 152 CPPUNIT_CHECK( are_equals(std::cos(std::acos(1.0l)), 1.0l) );
|
/ndk/tests/device/test-stlport/unit/ |
cmath_test.cpp | 101 CPPUNIT_CHECK( are_equals(std::cos(std::acos(1.0)), 1.0) ); 126 CPPUNIT_CHECK( are_equals(std::cos(std::acos(1.0f)), 1.0f) ); 152 CPPUNIT_CHECK( are_equals(std::cos(std::acos(1.0l)), 1.0l) );
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
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);
|
/external/eigen/Eigen/src/Core/ |
GlobalFunctions.h | 46 EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(acos,scalar_acos_op)
|
/prebuilts/go/darwin-x86/src/math/ |
stubs_arm64.s | 12 TEXT ·Acos(SB),NOSPLIT,$0 13 B ·acos(SB)
|
stubs_ppc64x.s | 12 TEXT ·Acos(SB),NOSPLIT,$0 13 BR ·acos(SB)
|
/prebuilts/go/linux-x86/src/math/ |
stubs_arm64.s | 12 TEXT ·Acos(SB),NOSPLIT,$0 13 B ·acos(SB)
|
stubs_ppc64x.s | 12 TEXT ·Acos(SB),NOSPLIT,$0 13 BR ·acos(SB)
|
/art/test/123-inline-execute2/src/ |
Main.java | 34 System.out.println("Math.acos(" + d + ") = " 35 + String.format(Locale.US, "%.12f", Math.acos(d))); 86 System.out.println("StrictMath.acos(" + d + ") = " + StrictMath.acos(d));
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/ |
Rotation.java | 571 return 2 * FastMath.acos(-q0); 573 return 2 * FastMath.acos(q0); 736 FastMath.acos(v2.getX()), 754 FastMath.acos(v2.getX()), 772 FastMath.acos(v2.getY()), [all...] |
/external/eigen/Eigen/src/Geometry/ |
AngleAxis.h | 161 using std::acos; 173 m_angle = Scalar(2)*acos((min)((max)(Scalar(-1),q.w()),Scalar(1)));
|
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
acos.pass.cpp | 14 // acos(const complex<T>& x); 25 assert(acos(c) == x); 42 std::complex<double> r = acos(x[i]);
|
/frameworks/base/core/java/android/util/ |
MathUtils.java | 135 public static float acos(float value) { method in class:MathUtils 136 return (float) Math.acos(value);
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
Quaternion.java | 57 double angle = Math.acos(dot(vec1, vec2));
64 return Math.acos(Math.min(dot(vec1, vec2), 1));
|
/libcore/ojluni/src/main/native/ |
Math.c | 52 return acos(d); 149 NATIVE_METHOD(Math, acos, "!(D)D"),
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/ |
acos.pass.cpp | 14 // acos(const complex<T>& x); 25 assert(acos(c) == x); 42 std::complex<double> r = acos(x[i]);
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Quaternion.java | 555 final float angle = (float)Math.acos(dot);
569 final float angle = (float)Math.acos(dot);
590 final float angle = (float)Math.acos(absDot);
659 float theta = (float)Math.acos(w / norm);
777 if (this.w > 1) this.nor(); // if w>1 acos and sqrt will produce errors, this cant happen if quaternion is normalised
778 float angle = (float)(2.0 * Math.acos(this.w));
799 return (float)(2.0 * Math.acos((this.w > 1) ? (this.w / len()) : this.w));
[all...] |
/bionic/libm/x86_64/ |
e_acos.S | 35 // To compute acos(s), separate schemes are used when s is in different 40 // acos(s)=pi/2-asin(t)-asin(r), where r=s*sqrt(1-t^2)-t*sqrt(1-s^2) 51 // acos(|s|)=asin(t)-asin(r), r=s*t-sqrt(1-s^2)*sqrt(1-t^2) 52 // acos(-|s|)=pi-acos(|s|) 59 // |s|<2^{-4}: acos(s)=pi/2-asin(s) 62 // |s| in [255/256,1): acos(|s|)=2*asin(q), where q=sqrt((1-|s|)/2) 66 // acos(-|s|)=pi-acos(|s|) 71 // acos(NaN) = quiet NaN, and raise invalid exceptio 80 ENTRY(acos) function [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
SensorSynchronizationTestActivity.java | 152 return Math.toDegrees(Math.acos((vec1[0] * vec2[0] + vec1[1] * vec2[1] + vec1[2] * vec2[2])
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
AngleAxis.h | 168 m_angle = 2*std::acos(q.w());
|
/external/eigen/unsupported/Eigen/src/FFT/ |
ei_kissfft_impl.h | 31 using std::acos; 34 Scalar phinc = (inverse?2:-2)* acos( (Scalar) -1) / nfft; 403 using std::acos; 408 Scalar pi = acos( Scalar(-1) );
|
/external/opencv3/modules/calib3d/src/ |
polynom_solver.cpp | 75 double theta = acos(R / sqrt(-Q3));
|
/external/skia/include/private/ |
SkFloatingPoint.h | 66 # define sk_float_acos(x) static_cast<float>(acos(x))
|
/external/v8/test/mjsunit/wasm/ |
asm-wasm-f64.js | 16 var Math_acos = stdlib.Math.acos; 61 const Math_acos = Math.acos;
|