Home
last modified time | relevance | path

Searched refs:asin (Results 1 – 25 of 104) sorted by relevance

12345

/external/crcalc/tests/src/com/hp/creals/
DCRTest.java111 UnaryCRFunction asin = UnaryCRFunction.asinFunction; in testCR() local
116 check_eq(asin.execute(one),half_pi, "asin(1) failed"); in testCR()
117 check_eq(asin.execute(one.negate()), in testCR()
119 check_eq(asin.execute(zero), zero, "asin(0) failed"); in testCR()
120 check_eq(asin.execute(half.sin()), half, "asin(sin(0.5)) failed"); in testCR()
126 check_eq(asin.execute(one.sin()), one, "asin(sin(1) failed"); in testCR()
148 check_appr_eq(Math.asin(0.1*n), in testCR()
149 CR.valueOf(0.1*n).asin().doubleValue(), in testCR()
DSlowCRTest.java79 checkApprEq(x.asin().doubleValue(), Math.asin(xAsDouble), in checkTrig()
83 checkEq(ARCSINE.execute(x), x.asin(), in checkTrig()
116 CR tmp2 = xsin.asin(); in checkTrig()
168 checkEq(ZERO.asin(), ZERO, "asin(0)"); in testSlowTrig()
169 checkEq(ONE.asin(), CR.PI.divide(TWO), "asin(1)"); in testSlowTrig()
170 checkEq(ONE.negate().asin(), CR.PI.divide(TWO).negate(), "asin(-1)"); in testSlowTrig()
/external/mesa3d/src/glsl/builtins/ir/
Dacos.ir6 (call asin (var_ref s) ((var_ref x)))
13 (call asin (var_ref s) ((var_ref x)))
20 (call asin (var_ref s) ((var_ref x)))
27 (call asin (var_ref s) ((var_ref x)))
Datan.ir6 (call asin (var_ref s)
21 (call asin (var_ref s)
36 (call asin (var_ref s)
51 (call asin (var_ref s)
/external/v8/test/mjsunit/
Dtranscendentals.js42 assertTrue(Math.asin(x) != Math.asin(y));
/external/v8/test/webkit/
Dmath-expected.txt47 PASS Math.asin(NaN) is NaN
48 PASS Math.asin(0) is 0
49 PASS Math.asin(-0) is -0
50 PASS Math.asin(1) is -Math.asin(-1)
51 PASS Math.asin(1.1) is NaN
52 PASS Math.asin(-1.1) is NaN
53 PASS Math.asin(Infinity) is NaN
54 PASS Math.asin(-Infinity) is NaN
/external/valgrind/perf/
Dfbench.c349 #define asin I_asin macro
554 static double asin(x) in asin() function
649 iang = asin(iang_sin); in transit_surface()
654 iang - asin(rang_sin); in transit_surface()
663 rang = -asin((from_index / to_index) * in transit_surface()
/external/valgrind/memcheck/tests/
Dvcpu_fbench.c353 #define asin I_asin macro
558 static double asin(x) in asin() function
653 iang = asin(iang_sin); in transit_surface()
658 iang - asin(rang_sin); in transit_surface()
667 rang = -asin((from_index / to_index) * in transit_surface()
/external/eigen/bench/
Dquat_slerp.cpp92 theta = /*M_PI -*/ Scalar(2)*std::asin( (a.coeffs()+b.coeffs()).norm()/2 ); in slerp_rw()
94 theta = Scalar(2)*std::asin( (a.coeffs()-b.coeffs()).norm()/2 ); in slerp_rw()
120 theta = /*M_PI -*/ Scalar(2)*std::asin( (-a.coeffs()-b.coeffs()).norm()/2 ); in slerp_gael()
122 theta = Scalar(2)*std::asin( (a.coeffs()-b.coeffs()).norm()/2 ); in slerp_gael()
/external/skia/src/animator/
DSkDisplayMath.cpp37 SK_FUNCTION(asin),
109 SK_MEMBER_FUNCTION(asin, Float),
148 case SK_FUNCTION(asin): in executeFunction()
/external/ceres-solver/internal/ceres/
Djet_test.cc293 ExpectJetsClose(sin(asin(a)), a); in TEST()
294 ExpectJetsClose(asin(sin(a)), a); in TEST()
297 ExpectJetsClose(sin(asin(b)), b); in TEST()
298 ExpectJetsClose(asin(sin(b)), b); in TEST()
/external/eigen/doc/snippets/
DCwise_asin.cpp2 cout << v.asin() << endl;
/external/skia/include/core/
DSkFloatingPoint.h65 #define sk_float_asin(x) (float)::asin(x)
82 #define sk_float_asin(x) static_cast<float>(asin(x))
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DRotation.java569 return 2 * FastMath.asin(FastMath.sqrt(q1 * q1 + q2 * q2 + q3 * q3)); in getAngle()
628 FastMath.asin(v2.getZ()), in getAngles()
646 -FastMath.asin(v2.getY()), in getAngles()
664 -FastMath.asin(v2.getZ()), in getAngles()
682 FastMath.asin(v2.getX()), in getAngles()
700 FastMath.asin(v2.getY()), in getAngles()
718 -FastMath.asin(v2.getX()), in getAngles()
DVector3D.java244 return FastMath.asin(z / getNorm()); in getDelta()
351 return FastMath.asin(v3.getNorm() / normProduct); in angle()
353 return FastMath.PI - FastMath.asin(v3.getNorm() / normProduct); in angle()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarAstronomer.java455 Math.asin(sinB*cosE + cosB*sinE*sinL) ); in eclipticToEquatorial()
487 double altitude = Math.asin(sinD*sinL + cosD*cosL*cosH); in eclipticToHorizon()
1074 double moonEclipLat = Math.asin(y * Math.sin(moonI));
1315 double y = Math.asin(Math.sin(x) / Math.sin(psi));
/external/valgrind/memcheck/tests/amd64/
Dmore_x87_fp.stdout.exp12 a=2.000000 asin(sin(a))=1.141593
26 a=1.400000 asin(sin(a))=1.400000
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/
Dasin.pass.cpp25 assert(asin(c) == x); in test()
42 std::complex<double> r = asin(x[i]); in test_edges()
/external/valgrind/memcheck/tests/x86/
Dmore_x86_fp.stdout.exp13 a=2.000000 asin(sin(a))=1.141593
28 a=1.400000 asin(sin(a))=1.400000
/external/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.transcend/
Dasin_valarray.pass.cpp46 std::valarray<T> v3 = asin(v1); in main()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DFastMath.java442 public static float asin(float fValue) { in asin() method in FastMath
445 return (float) Math.asin(fValue); in asin()
832 store.z = FastMath.asin(cartCoords.y / store.x); in cartesianToSpherical()
868 store.y = FastMath.asin(cartCoords.y / store.x); in cartesianZToSpherical()
/external/icu/icu4c/source/i18n/
Dastro.cpp476 asin(sinB*cosE + cosB*sinE*sinL) ); in eclipticToEquatorial()
512 double altitude = asin(sinD*sinL + cosD*cosL*cosH); in eclipticToHorizon()
1136 double moonEclipLat = ::asin(y * ::sin(moonI)); in getMoonPosition()
1401 double y = ::asin(sin(x) / ::sin(psi)); in riseOrSet()
/external/mesa3d/src/glsl/builtins/profiles/
D100.glsl30 float asin(float angle);
31 vec2 asin(vec2 angle);
32 vec3 asin(vec3 angle);
33 vec4 asin(vec4 angle);
D110.glsl30 float asin(float angle);
31 vec2 asin(vec2 angle);
32 vec3 asin(vec3 angle);
33 vec4 asin(vec4 angle);
/external/eigen/Eigen/src/plugins/
DArrayCwiseUnaryOps.h116 asin() const in asin() function

12345