Home
last modified time | relevance | path

Searched refs:cos (Results 1 – 25 of 29) sorted by relevance

12

/ndk/sources/cxx-stl/stlport/src/
Dcomplex_trig.cpp70 ::cos(z._M_re) * ::sinh(z._M_im)); in sinT()
88 return complex<_Tp>(::cos(z._M_re) * ::cosh(z._M_im), in cosT()
92 _STLP_DECLSPEC complex<float> _STLP_CALL cos(const complex<float>& z) in cos() function
95 _STLP_DECLSPEC complex<double> _STLP_CALL cos(const complex<double>& z) in cos() function
99 _STLP_DECLSPEC complex<long double> _STLP_CALL cos(const complex<long double>& z) in cos() function
113 _Tp den = ::cos(re2) + ::cosh(im2); in tanT()
133 return complex<_Tp>(::sinh(z._M_re) * ::cos(z._M_im), in sinhT()
152 return complex<_Tp>(::cosh(z._M_re) * ::cos(z._M_im), in coshT()
176 _Tp den = ::cosh(re2) + ::cos(im2); in tanhT()
Dcomplex.cpp71 { return complex<float>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } in polar()
74 { return complex<double>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } in polar()
79 { return complex<long double>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } in polar()
204 return complex<_Tp>(expx * ::cos(z._M_im), in expT()
278 return complex<_Tp>(x * ::cos(y), x * ::sin(y)); in powT()
298 return complex<_Tp>(x * ::cos(y), x * ::sin(y)); in powT()
308 return complex<_Tp>(x * ::cos(y), x * ::sin(y)); in powT()
/ndk/sources/cxx-stl/stlport/stlport/stl/config/
D_como.h87 # define cosl cos
115 # define cosf cos
116 # define cosl cos
161 # define cosl cos
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/
Dcos.pass.cpp25 assert(cos(c) == x); in test()
42 std::complex<double> r = cos(x[i]); in test_edges()
Dcosh.pass.cpp79 assert(std::signbit(r.real()) == std::signbit(cos(x[i].imag()))); in test_edges()
Dsinh.pass.cpp80 assert(std::signbit(r.real()) == std::signbit(x[i].real() * cos(x[i].imag()))); in test_edges()
/ndk/tests/device/test-gnustl-full/unit/
Dvalarray_test.cpp45 tmp = cos(darray); in transcendentals()
71 tmp = cos(farray); in transcendentals()
98 tmp = cos(ldarray); in transcendentals()
Dcmath_test.cpp101 CPPUNIT_CHECK( are_equals(std::cos(std::acos(1.0)), 1.0) ); in import_checks()
126 CPPUNIT_CHECK( are_equals(std::cos(std::acos(1.0f)), 1.0f) ); in import_checks()
152 CPPUNIT_CHECK( are_equals(std::cos(std::acos(1.0l)), 1.0l) ); in import_checks()
/ndk/tests/device/test-stlport/unit/
Dvalarray_test.cpp45 tmp = cos(darray); in transcendentals()
71 tmp = cos(farray); in transcendentals()
98 tmp = cos(ldarray); in transcendentals()
Dcmath_test.cpp101 CPPUNIT_CHECK( are_equals(std::cos(std::acos(1.0)), 1.0) ); in import_checks()
126 CPPUNIT_CHECK( are_equals(std::cos(std::acos(1.0f)), 1.0f) ); in import_checks()
152 CPPUNIT_CHECK( are_equals(std::cos(std::acos(1.0l)), 1.0l) ); in import_checks()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_cmath.h345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh…
366 _STLP_DMATH_INLINE(cos) in _STLP_DMATH_INLINE()
395 # if defined (cos)
396 inline double __stlp_cos(double __x) { return cos(__x); } in __stlp_cos()
397 # undef cos
398 inline double cos(double __x) { return __stlp_cos(__x); } in cos() function
437 _STLP_DEF_MATH_INLINE(cos, cos)
515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sin…
559 using ::cos;
D_complex.h878 _STLP_DECLSPEC complex<float> _STLP_CALL cos(const complex<float>&);
897 _STLP_DECLSPEC complex<double> _STLP_CALL cos(const complex<double>&);
917 _STLP_DECLSPEC complex<long double> _STLP_CALL cos(const complex<long double>&);
D_valarray.h956 inline valarray<_Tp> cos(const valarray<_Tp>& __x) { in cos() function
960 __tmp[__i] = ::cos(__x[__i]); in cos()
/ndk/tests/device/hard-float/jni/
Dtest-float.c22 return sin(a) + cos(b) + 4.9; in foo()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/valarray.nonmembers/valarray.transcend/
Dcos_valarray.pass.cpp46 std::valarray<T> v3 = cos(v1); in main()
/ndk/build/tools/toolchain-patches/gcc/
D0001-Disable-sincos-optimization.patch14 c = cos(angle);
/ndk/sources/cxx-stl/system/include/
Dcmath45 using ::cos;
/ndk/sources/android/support/src/
Dmath_support.c58 __attribute__((weak)) long double cosl(long double x) { return cos((double)x); } in cosl()
/ndk/sources/cxx-stl/gabi++/include/
Dcmath45 using ::cos;
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/tools/
Dconfig.hpp219 using std::cos;\
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/c.math/
Dcmath.pass.cpp128 static_assert((std::is_same<decltype(std::cos((float)0)), float>::value), ""); in test_cos()
129 static_assert((std::is_same<decltype(std::cos((bool)0)), double>::value), ""); in test_cos()
130 static_assert((std::is_same<decltype(std::cos((unsigned short)0)), double>::value), ""); in test_cos()
131 static_assert((std::is_same<decltype(std::cos((int)0)), double>::value), ""); in test_cos()
132 static_assert((std::is_same<decltype(std::cos((unsigned int)0)), double>::value), ""); in test_cos()
133 static_assert((std::is_same<decltype(std::cos((long)0)), double>::value), ""); in test_cos()
134 static_assert((std::is_same<decltype(std::cos((unsigned long)0)), double>::value), ""); in test_cos()
135 static_assert((std::is_same<decltype(std::cos((long long)0)), double>::value), ""); in test_cos()
136 static_assert((std::is_same<decltype(std::cos((unsigned long long)0)), double>::value), ""); in test_cos()
137 static_assert((std::is_same<decltype(std::cos((double)0)), double>::value), ""); in test_cos()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dcomplex215 template<class T> complex<T> cos (const complex<T>&);
1093 _Tp __x = __rho * cos(__theta);
1163 return complex<_Tp>(__e * cos(__i), __e * sin(__i));
1319 return complex<_Tp>(sinh(__x.real()) * cos(__x.imag()), cosh(__x.real()) * sin(__x.imag()));
1336 return complex<_Tp>(cosh(__x.real()) * cos(__x.imag()), sinh(__x.real()) * sin(__x.imag()));
1355 _Tp __d(cosh(__2r) + cos(__2i));
1430 // cos
1435 cos(const complex<_Tp>& __x)
Dcmath70 floating_point cos (arithmetic x);
759 // cos
761 using ::cos;
765 inline _LIBCPP_INLINE_VISIBILITY float cos(float __x) _NOEXCEPT {return cosf(__x);}
766 inline _LIBCPP_INLINE_VISIBILITY long double cos(long double __x) _NOEXCEPT {return cosl(__x);}
772 cos(_A1 __x) _NOEXCEPT {return cos((double)__x);}
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
Dmath_h.pass.cpp60 static_assert((std::is_same<decltype(cos((double)0)), double>::value), ""); in test_cos()
63 assert(cos(0) == 1); in test_cos()
/ndk/sources/host-tools/nawk-20071023/
Drun.c1495 u = cos(getfval(x)); break; in bltin()

12