Searched refs:tan (Results 1 - 25 of 67) sorted by relevance

123

/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/
H A D15.8.2.18.js24 ECMA Section: 15.8.2.18 tan( x )
25 Description: return an approximation to the tan of the
39 var TITLE = "Math.tan(x)";
51 array[item++] = new TestCase( SECTION, "Math.tan.length", 1, Math.tan.length );
53 array[item++] = new TestCase( SECTION, "Math.tan()", Number.NaN, Math.tan() );
54 array[item++] = new TestCase( SECTION, "Math.tan(void 0)", Number.NaN, Math.tan(void 0));
55 array[item++] = new TestCase( SECTION, "Math.tan(nul
[all...]
/external/v8/test/mjsunit/
H A Dtranscendentals.js38 assertTrue(Math.tan(x) != Math.tan(y));
/external/skia/src/core/
H A DSkCordic.cpp33 int32_t tan = *tanPtr++; local
37 z -= tan;
41 z += tan;
87 int32_t tan = *tanPtr++; local
91 z -= tan;
95 z += tan;
158 int32_t tan = *tanPtr++; local
166 z -= tan;
170 z += tan;
224 // tan
[all...]
/external/stlport/test/unit/
H A Dvalarray_test.cpp49 tmp = tan(darray);
75 tmp = tan(farray);
102 tmp = tan(ldarray);
H A Dcmath_test.cpp103 CPPUNIT_CHECK( are_equals(std::tan(std::atan(1.0)), 1.0) );
104 CPPUNIT_CHECK( are_equals(std::tan(std::atan2(1.0, 1.0)), 1.0) );
128 CPPUNIT_CHECK( are_equals(std::tan(std::atan(1.0f)), 1.0f) );
129 CPPUNIT_CHECK( are_equals(std::tan(std::atan2(1.0f, 1.0f)), 1.0f) );
154 CPPUNIT_CHECK( are_equals(std::tan(0.0l), 0.0l) );
/external/jmonkeyengine/engine/src/android/jme3tools/android/
H A DFixed.java101 int tan0 = tan(0);
102 int tan1 = tan(1);
111 // Create the a table of tan values
114 lut[n] = tan(n) >> rotl;
117 // Then from the tan values create a reverse lookup
265 public static int tan(int n) { method in class:Fixed
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
H A DBatchNode.java556 Vector3f tan = vars.vect3;
583 tan.x = tmpFloatT[tanIndex++];
584 tan.y = tmpFloatT[tanIndex++];
585 tan.z = tmpFloatT[tanIndex++];
589 transform.multNormal(tan, tan);
601 tmpFloatT[tanIndex++] = tan.x;
602 tmpFloatT[tanIndex++] = tan.y;
603 tmpFloatT[tanIndex++] = tan.z;
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
H A DGeometryBatchFactory.java66 Vector3f tan = new Vector3f();
73 tan.x = inBuf.get(i * components + 0);
74 tan.y = inBuf.get(i * components + 1);
75 tan.z = inBuf.get(i * components + 2);
77 transform.multNormal(tan, tan);
79 outBuf.put(offset + i * components + 0, tan.x);
80 outBuf.put(offset + i * components + 1, tan.y);
81 outBuf.put(offset + i * components + 2, tan.z);
/external/webkit/Source/WebCore/platform/graphics/transforms/
H A DAffineTransform.cpp260 return shear(tan(deg2rad(angleX)), tan(deg2rad(angleY)));
265 return shear(tan(deg2rad(angle)), 0);
270 return shear(0, tan(deg2rad(angle)));
/external/skia/src/animator/
H A DSkDisplayMath.cpp63 SK_FUNCTION(tan)
103 (SkFunctionParamType) SkType_Float, // tan
135 SK_MEMBER_FUNCTION(tan, Float)
217 case SK_FUNCTION(tan):
/external/stlport/src/
H A Dcomplex_trig.cpp104 // tan
118 _STLP_DECLSPEC complex<float> _STLP_CALL tan(const complex<float>& z) function
121 _STLP_DECLSPEC complex<double> _STLP_CALL tan(const complex<double>& z) function
125 _STLP_DECLSPEC complex<long double> _STLP_CALL tan(const complex<long double>& z) function
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/
H A DNavCalculator.java215 double m1 = (7915.704468 * (Math.log(Math.tan(Math.toRadians(45
221 double m2 = (7915.704468 * (Math.log(Math.tan(Math.toRadians(45
245 float m1 = (float) (7915.7045 * Math.log10(Math.tan(Math.toRadians(45 + (absLat1 / 2))))
248 float m2 = (float) (7915.7045 * Math.log10(Math.tan(Math.toRadians(45 + (absLat2 / 2))))
330 double dep = (Math.abs(dlat * 60)) * Math.tan(angle);
/external/stlport/stlport/stl/
H A D_cmath.h345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
380 _STLP_DMATH_INLINE(tan)
451 _STLP_DEF_MATH_INLINE(tan, tan)
515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
592 using ::tan;
/external/valgrind/main/memcheck/tests/
H A Dvcpu_fbench.c16 cos, tan, etc, will be used as supplied by <math.h>. If it is
263 #define cot(x) (1.0 / tan(x))
349 #define tan I_tan macro
449 /* tan(x) Return tangent, x in radians, by identity */
451 static double tan(x) function
H A Dvcpu_fnfns.c70 printf(" tanD(%+20.13e) = %+20.13e\n", d, tan(d));
/external/valgrind/main/perf/
H A Dfbench.c12 cos, tan, etc, will be used as supplied by <math.h>. If it is
259 #define cot(x) (1.0 / tan(x))
345 #define tan I_tan macro
445 /* tan(x) Return tangent, x in radians, by identity */
447 static double tan(x) function
/external/skia/include/core/
H A DSkFloatingPoint.h37 #define sk_float_tan(x) (float)::tan(x)
/external/valgrind/main/memcheck/tests/amd64/
H A Dmore_x87_fp.c5 gcc4 really does generate all the sin cos tan stuff as
53 printf("a=%f tan(a)=%f\n", a, tan(a));
60 printf("a=%f atan(tan(a))=%f\n", a, atan(tan(a)));
H A Dmore_x87_fp.stdout.exp8 a=2.000000 tan(a)=-2.185040
14 a=2.000000 atan(tan(a))=-1.141593
22 a=1.400000 tan(a)=5.797884
28 a=1.400000 atan(tan(a))=1.400000
/external/valgrind/main/memcheck/tests/x86/
H A Dmore_x86_fp.c43 printf("a=%f tan(a)=%f\n", a, tan(a));
50 printf("a=%f atan(tan(a))=%f\n", a, atan(tan(a)));
H A Dmore_x86_fp.stdout.exp9 a=2.000000 tan(a)=-2.185040
15 a=2.000000 atan(tan(a))=-1.141593
24 a=1.400000 tan(a)=5.797884
30 a=1.400000 atan(tan(a))=1.400000
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DFontPlatformDataWxMac.mm49 static const NSAffineTransformStruct kSlantNSTransformStruct = { 1, 0, tan(DegToRad(11)), 1, 0, 0 };
/external/icu4c/i18n/
H A Dastro.cpp474 double tanB = tan(eclipLat);
607 return 2.0 * ::atan( ::tan(E/2) * ::sqrt( (1+eccentricity)
787 // double tanL = ::tan(fLatitude);
788 // double H = ::acos(-tanL * ::tan(pos1.declination));
791 // H = ::acos(-tanL * ::tan(pos2.declination));
964 // // tan(sRA) = -------------------------
1005 // // cos(HA0) = - tan(lat) * tan(Dec)
1359 double tanL = ::tan(fLatitude);
1373 double angle = ::acos(-tanL * ::tan(po
[all...]
/external/llvm/include/llvm/Target/
H A DTargetLibraryInfo.h190 /// double tan(double x);
191 tan, enumerator in enum:llvm::LibFunc::Func
/external/jmonkeyengine/engine/src/core/com/jme3/input/
H A DFlyByCamera.java283 h = FastMath.tan( fovY * FastMath.DEG_TO_RAD * .5f) * near;

Completed in 187 milliseconds

123