Home
last modified time | relevance | path

Searched refs:pow (Results 1 – 25 of 41) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/cmplx.over/
Dpow.pass.cpp43 static_assert((std::is_same<decltype(std::pow(x, y)), std::complex<V> >::value), ""); in test()
44 assert(std::pow(x, y) == pow(std::complex<V>(x, 0), std::complex<V>(y))); in test()
52 static_assert((std::is_same<decltype(std::pow(x, y)), std::complex<V> >::value), ""); in test()
53 assert(std::pow(x, y) == pow(std::complex<V>(x), std::complex<V>(y, 0))); in test()
61 static_assert((std::is_same<decltype(std::pow(x, y)), std::complex<V> >::value), ""); in test()
62 assert(std::pow(x, y) == pow(std::complex<V>(x), std::complex<V>(y))); in test()
/ndk/tests/device/test-gnustl-full/unit/
Dvalarray_test.cpp56 tmp = pow(darray, tmp); in transcendentals()
57 tmp = pow(1.0, darray); in transcendentals()
58 tmp = pow(darray, 1.0); in transcendentals()
82 tmp = pow(farray, tmp); in transcendentals()
83 tmp = pow(1.0f, farray); in transcendentals()
84 tmp = pow(farray, 1.0f); in transcendentals()
109 tmp = pow(ldarray, tmp); in transcendentals()
110 tmp = pow(1.0l, ldarray); in transcendentals()
111 tmp = pow(ldarray, 1.0l); in transcendentals()
Dcmath_test.cpp81 CPPUNIT_CHECK( are_equals(std::pow(2.0, 2), 4.0) ); in import_checks()
90 CPPUNIT_CHECK( are_equals(std::pow(10.0, -2), 0.01) ); in import_checks()
99 CPPUNIT_CHECK( are_equals(double_val * std::pow(2.0, int_val), 8.0) ); in import_checks()
115 CPPUNIT_CHECK( are_equals(std::pow(2.0f, 2), 4.0f) ); in import_checks()
124 CPPUNIT_CHECK( are_equals(float_val * std::pow(2.0f, int_val), 8.0f) ); in import_checks()
141 CPPUNIT_CHECK( are_equals(std::pow(2.0l, 2), 4.0l) ); in import_checks()
150 CPPUNIT_CHECK( are_equals(long_double_val * std::pow(2.0l, int_val), 8.0l) ); in import_checks()
/ndk/tests/device/test-stlport/unit/
Dvalarray_test.cpp56 tmp = pow(darray, tmp); in transcendentals()
57 tmp = pow(1.0, darray); in transcendentals()
58 tmp = pow(darray, 1.0); in transcendentals()
82 tmp = pow(farray, tmp); in transcendentals()
83 tmp = pow(1.0f, farray); in transcendentals()
84 tmp = pow(farray, 1.0f); in transcendentals()
109 tmp = pow(ldarray, tmp); in transcendentals()
110 tmp = pow(1.0l, ldarray); in transcendentals()
111 tmp = pow(ldarray, 1.0l); in transcendentals()
Dcmath_test.cpp81 CPPUNIT_CHECK( are_equals(std::pow(2.0, 2), 4.0) ); in import_checks()
90 CPPUNIT_CHECK( are_equals(std::pow(10.0, -2), 0.01) ); in import_checks()
99 CPPUNIT_CHECK( are_equals(double_val * std::pow(2.0, int_val), 8.0) ); in import_checks()
115 CPPUNIT_CHECK( are_equals(std::pow(2.0f, 2), 4.0f) ); in import_checks()
124 CPPUNIT_CHECK( are_equals(float_val * std::pow(2.0f, int_val), 8.0f) ); in import_checks()
141 CPPUNIT_CHECK( are_equals(std::pow(2.0l, 2), 4.0l) ); in import_checks()
150 CPPUNIT_CHECK( are_equals(long_double_val * std::pow(2.0l, int_val), 8.0l) ); in import_checks()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_cmath.h382 _STLP_DMATH_INLINE2(pow) in _STLP_DMATH_INLINE()
453 _STLP_DEF_MATH_INLINE2(pow, pow)
458 inline float pow(float __x, int __y) { return _STLP_CMATH_FUNC_NAMESPACE::powf(__x, __STATIC_CAST(f…
460 inline float pow(float __x, int __y) { return ::__powf(__x, __STATIC_CAST(float,__y)); }
463 inline float pow(float __x, int __y) { return __STATIC_CAST(float, _STLP_CMATH_FUNC_NAMESPACE::pow(…
465 inline double pow(double __x, int __y) { return _STLP_CMATH_FUNC_NAMESPACE::pow(__x, __STATIC_CAST(… in pow() function
469 inline long double pow(long double __x, int __y) { return _STLP_CMATH_FUNC_NAMESPACE::powl(__x, __S… in pow() function
472 inline long double pow(long double __x, int __y) { return ::__powl(__x, __STATIC_CAST(long double,_… in pow() function
474 inline long double pow(long double __x, int __y) { return _STLP_VENDOR_CSTD::__powl(__x, __STATIC_C… in pow() function
478 inline long double pow(long double __x, int __y) { return __STATIC_CAST(long double, _STLP_CMATH_FU… in pow() function
[all …]
D_complex.h872 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const complex<float>&, int);
873 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const complex<float>&, const float&);
874 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const float&, const complex<float>&);
875 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const complex<float>&, const complex<float>&);
891 _STLP_DECLSPEC complex<double> _STLP_CALL pow(const complex<double>&, int);
892 _STLP_DECLSPEC complex<double> _STLP_CALL pow(const complex<double>&, const double&);
893 _STLP_DECLSPEC complex<double> _STLP_CALL pow(const double&, const complex<double>&);
894 _STLP_DECLSPEC complex<double> _STLP_CALL pow(const complex<double>&, const complex<double>&);
910 _STLP_DECLSPEC complex<long double> _STLP_CALL pow(const complex<long double>&, int);
911 _STLP_DECLSPEC complex<long double> _STLP_CALL pow(const complex<long double>&, const long double&);
[all …]
/ndk/sources/cxx-stl/stlport/src/
Dcomplex.cpp311 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const float& a, const complex<float>& b) in pow() function
314 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const complex<float>& z_in, int n) in pow() function
317 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const complex<float>& a, const float& b) in pow() function
320 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const complex<float>& a, const complex<float>& b) in pow() function
323 _STLP_DECLSPEC complex<double> _STLP_CALL pow(const double& a, const complex<double>& b) in pow() function
326 _STLP_DECLSPEC complex<double> _STLP_CALL pow(const complex<double>& z_in, int n) in pow() function
329 _STLP_DECLSPEC complex<double> _STLP_CALL pow(const complex<double>& a, const double& b) in pow() function
332 _STLP_DECLSPEC complex<double> _STLP_CALL pow(const complex<double>& a, const complex<double>& b) in pow() function
336 _STLP_DECLSPEC complex<long double> _STLP_CALL pow(const long double& a, in pow() function
341 _STLP_DECLSPEC complex<long double> _STLP_CALL pow(const complex<long double>& z_in, int n) in pow() function
[all …]
/ndk/tests/device/test-stlport_static-exception/jni/
Dref9.cpp30 ex pow() { return basic(); } in pow() function
34 try { pow (); } catch (int) {} in main()
/ndk/tests/device/test-stlport_shared-exception/jni/
Dref9.cpp30 ex pow() { return basic(); } in pow() function
34 try { pow (); } catch (int) {} in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/
Dpow_scalar_complex.pass.cpp25 std::complex<T> c = pow(a, b); in test()
45 std::complex<double> r = pow(real(x[i]), x[j]); in test_edges()
Dpow_complex_scalar.pass.cpp25 std::complex<T> c = pow(a, b); in test()
45 std::complex<double> r = pow(x[i], real(x[j])); in test_edges()
Dpow_complex_complex.pass.cpp25 std::complex<T> c = pow(a, b); in test()
45 std::complex<double> r = pow(x[i], x[j]); in test_edges()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/
Dcopy.pass.cpp25 return std::pow(a, b); in _pow()
Dnested.pass.cpp29 return std::pow(a, b); in operator ()()
/ndk/sources/cxx-stl/stlport/stlport/stl/config/
D_epilog.h9 # pragma option -w-pow // -w-8062 Previous options and warnings not restored
D_warnings_off.h48 # pragma option -w-pow // -w-8062 Previous options and warnings not restored
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/
Deval_param.pass.cpp36 r += fac(a+b-1)/(fac(j) * fac(a + b - 1 - j)) * std::pow(x, j) * in I()
37 std::pow(1-x, a+b-1-j); in I()
Deval.pass.cpp36 r += fac(a+b-1)/(fac(j) * fac(a + b - 1 - j)) * std::pow(x, j) * in I()
37 std::pow(1-x, a+b-1-j); in I()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/valarray.nonmembers/valarray.transcend/
Dpow_valarray_value.pass.cpp46 std::valarray<T> v3 = pow(v1, 2.0); in main()
Dpow_value_valarray.pass.cpp46 std::valarray<T> v3 = pow(2.0, v1); in main()
Dpow_valarray_valarray.pass.cpp48 std::valarray<T> v3 = pow(v1, v2); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dcomplex221 template<class T> complex<T> pow(const complex<T>&, const T&);
222 template<class T> complex<T> pow(const complex<T>&, const complex<T>&);
223 template<class T> complex<T> pow(const T&, const complex<T>&);
1166 // pow
1171 pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
1179 pow(const complex<_Tp>& __x, const complex<_Up>& __y)
1182 return _VSTD::pow(result_type(__x), result_type(__y));
1192 pow(const complex<_Tp>& __x, const _Up& __y)
1195 return _VSTD::pow(result_type(__x), result_type(__y));
1205 pow(const _Tp& __x, const complex<_Up>& __y)
[all …]
/ndk/sources/cxx-stl/gabi++/include/
Dcmath64 using ::pow;
/ndk/sources/android/support/src/
Dmath_support.c62 __attribute__((weak)) long double powl(long double x, long double y) { return pow((double)x, (doubl… in powl()

12