Searched defs:cos (Results 1 - 8 of 8) sorted by relevance

/external/stlport/src/
H A Dcomplex_trig.cpp70 ::cos(z._M_re) * ::sinh(z._M_im));
85 // cos
88 return complex<_Tp>(::cos(z._M_re) * ::cosh(z._M_im),
92 _STLP_DECLSPEC complex<float> _STLP_CALL cos(const complex<float>& z) function
95 _STLP_DECLSPEC complex<double> _STLP_CALL cos(const complex<double>& z) function
99 _STLP_DECLSPEC complex<long double> _STLP_CALL cos(const complex<long double>& z) function
113 _Tp den = ::cos(re2) + ::cosh(im2);
133 return complex<_Tp>(::sinh(z._M_re) * ::cos(z._M_im),
152 return complex<_Tp>(::cosh(z._M_re) * ::cos(z._M_im),
176 _Tp den = ::cosh(re2) + ::cos(im
[all...]
/external/skia/samplecode/
H A DSampleVertices.cpp173 SkScalar cos; local
174 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos);
175 v[i+1].set(cos, sin);
201 SkScalar cos; local
202 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos);
203 v[i*2 + 0].set(cos/2, sin/2);
204 v[i*2 + 1].set(cos, sin);
H A DSampleSlides.cpp377 SkScalar cos; local
378 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos);
379 v[i+1].set(cos, sin);
405 SkScalar cos; local
406 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos);
407 v[i*2 + 0].set(cos/2, sin/2);
408 v[i*2 + 1].set(cos, sin);
/external/skia/src/core/
H A DSkCordic.cpp66 SkFixed cos = kFixedInvGain1; local
67 SkCircularRotation(&cos, &sin, &scaledRadians);
71 scaled.setMul(cos, 0x6488d);
80 int32_t cos; local
81 int32_t sin = SkCordicSinCos(a, &cos);
82 return SkFixedDiv(sin, cos);
231 SkDebugf("cos error : angle = %g ; cos = %g ; cordic = %g\n", angle, cosine, cosine2);
/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)
366 _STLP_DMATH_INLINE(cos)
395 # if defined (cos)
396 inline double __stlp_cos(double __x) { return cos(__x); }
397 # undef cos macro
398 inline double cos(double __x) { return __stlp_cos(__x); } function
437 _STLP_DEF_MATH_INLINE(cos, cos)
515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
559 using ::cos;
[all...]
/external/valgrind/main/memcheck/tests/
H A Dvcpu_fbench.c16 cos, tan, etc, will be used as supplied by <math.h>. If it is
348 #define cos I_cos macro
438 /* cos(x) Return cosine, x in radians, by identity */
440 static double cos(x) function
454 return sin(x) / cos(x);
670 cos(-rang)) / (from_index *
671 cos(axis_slope_angle)));
/external/valgrind/main/perf/
H A Dfbench.c12 cos, tan, etc, will be used as supplied by <math.h>. If it is
344 #define cos I_cos macro
434 /* cos(x) Return cosine, x in radians, by identity */
436 static double cos(x) function
450 return sin(x) / cos(x);
666 cos(-rang)) / (from_index *
667 cos(axis_slope_angle)));
/external/clang/lib/Headers/
H A Dtgmath.h237 // cos
245 __tg_cos(double __x) {return cos(__x);}
263 #undef cos macro
264 #define cos(__x) __tg_cos(__tg_promote1((__x))(__x)) macro

Completed in 763 milliseconds