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

1234

/external/eigen/doc/snippets/
H A DCwise_tan.cpp2 cout << v.tan() << endl;
/external/chromium_org/v8/test/mjsunit/
H A Dsin-cos.js34 assertEquals("-Infinity", String(1/Math.tan(-0)));
38 return Math.sin(x) + Math.cos(x) + Math.tan(x);
160 assertTrue(Math.tan(Math.PI/2) > 1e16);
161 assertTrue(Math.tan(-Math.PI/2) < -1e16);
220 // Tests for Math.tan for |x| < pi/4
221 assertEquals(Infinity, 1/Math.tan(0.0));
222 assertEquals(-Infinity, 1/Math.tan(-0.0));
223 // tan(x) = x for |x| < 2^-28
224 assertEquals(two_32, Math.tan(two_32));
225 assertEquals(-two_32, Math.tan(
[all...]
H A Dtranscendentals.js38 assertTrue(Math.tan(x) != Math.tan(y));
/external/chromium_org/third_party/webrtc/base/
H A Dlatebindingsymboltable_unittest.cc26 X(tan)
44 EXPECT_EQ(table.tan()(0.5), tan(0.5));
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-transcendental.js47 test(Math.tan, -1.57079632679489660000, "Math.tan");
/external/libcxx/test/numerics/complex.number/complex.transcendentals/
H A Dtan.pass.cpp14 // tan(const complex<T>& x);
25 assert(tan(c) == x);
43 std::complex<double> r = tan(x[i]);
H A DAndroid.mk51 test_name := numerics/complex.number/complex.transcendentals/tan
52 test_src := tan.pass.cpp
/external/libcxx/test/numerics/numarray/valarray.nonmembers/valarray.transcend/
H A Dtan_valarray.pass.cpp16 // tan(const valarray<T>& x);
46 std::valarray<T> v3 = tan(v1);
/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/chromium_org/third_party/skia/samplecode/
H A DSampleRotateCircles.cpp249 SkPoint pos, tan; local
251 if (meas.getPosTan(dist, &pos, &tan)) {
252 tan.scale(radius);
253 tan.rotateCCW();
254 canvas->drawLine(pos.x() + tan.x(), pos.y() + tan.y(),
255 pos.x() - tan.x(), pos.y() - tan.y(), paint);
/external/skia/samplecode/
H A DSampleRotateCircles.cpp249 SkPoint pos, tan; local
251 if (meas.getPosTan(dist, &pos, &tan)) {
252 tan.scale(radius);
253 tan.rotateCCW();
254 canvas->drawLine(pos.x() + tan.x(), pos.y() + tan.y(),
255 pos.x() - tan.x(), pos.y() - tan.y(), paint);
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
H A DAffineTransform.cpp213 return shear(tan(deg2rad(angleX)), tan(deg2rad(angleY)));
218 return shear(tan(deg2rad(angle)), 0);
223 return shear(0, tan(deg2rad(angle)));
/external/eigen/Eigen/src/plugins/
H A DArrayCwiseUnaryOps.h121 /** \returns an expression of the coefficient-wise tan of *this.
129 tan() const function
/external/chromium_org/third_party/skia/src/animator/
H A DSkDisplayMath.cpp52 SK_FUNCTION(tan)
92 (SkFunctionParamType) SkType_Float, // tan
124 SK_MEMBER_FUNCTION(tan, Float)
206 case SK_FUNCTION(tan):
/external/skia/src/animator/
H A DSkDisplayMath.cpp52 SK_FUNCTION(tan)
92 (SkFunctionParamType) SkType_Float, // tan
124 SK_MEMBER_FUNCTION(tan, Float)
206 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/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
/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/eigen/Eigen/src/Core/
H A DGlobalFunctions.h47 EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(tan,scalar_tan_op)
/external/fonttools/Lib/fontTools/misc/
H A Dtransform.py179 return self.transform((1, math.tan(y), math.tan(x), 1, 0, 0))
/external/fonttools/Tools/fontTools/misc/
H A Dtransform.py179 return self.transform((1, math.tan(y), math.tan(x), 1, 0, 0))
/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

Completed in 1117 milliseconds

1234