Searched defs:pow (Results 1 - 25 of 32) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/
H A DGCMExponentiator.java6 void exponentiateX(long pow, byte[] output); argument
H A DTables1kGCMExponentiator.java24 public void exponentiateX(long pow, byte[] output) argument
28 while (pow > 0)
30 if ((pow & 1L) != 0)
36 pow >>>= 1;
/external/eigen/Eigen/src/Core/
H A DGlobalFunctions.h54 pow(const Eigen::ArrayBase<Derived>& x, const typename Derived::Scalar& exponent) { function in namespace:std
55 return x.derived().pow(exponent);
60 pow(const Eigen::ArrayBase<Derived>& x, const Eigen::ArrayBase<Derived>& exponents) function in namespace:std
H A DMathFunctions.h523 * Implementation of pow *
532 using std::pow;
533 return pow(x, y);
566 inline EIGEN_MATHFUNC_RETVAL(pow, Scalar) pow(const Scalar& x, const Scalar& y) function in namespace:Eigen::internal
568 return EIGEN_MATHFUNC_IMPL(pow, Scalar)::run(x, y);
/external/eigen/Eigen/src/plugins/
H A DArrayCwiseUnaryOps.h34 * \sa pow(), log(), sin(), cos()
60 * \sa pow(), square()
143 pow(const Scalar& exponent) const function
181 * \sa square(), pow()
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_gamma.c34 #define pow(x, y) __ieee754_pow(x, y) macro
63 value = (int)(pow((double)i/256.0, gamma)*65535.0+0.5);
/external/svox/pico/lib/
H A Dpicokpdf.c131 static picoos_uint8 convScaleFactorToBig(picoos_uint8 pow, picoos_uint8 bigpow) argument
133 if (pow > 0x0F) {
134 pow = bigpow + (0xFF - pow + 1); /* take 2's complement of negative pow */
135 } else if (bigpow >= pow) {
136 pow = bigpow - pow;
138 /* error: bigpow is smaller than input pow */
141 return pow;
[all...]
H A Dpicocep.c477 * multiply by 1<<pow and check overflow
479 * @param pow : shift value
484 static picoos_int32 picocep_fixptmultpow(picoos_int32 a, picoos_uint8 pow) argument
489 if (picocep_highestBitS(a,zzz) + pow < 32) {
490 b = a << pow;
496 }PICODBG_WARN(("picocep_fixptmultpow warning: overflow in fixed point multiplication %i*1<<%i. Clipping to %i\n", a, pow, b));
502 * divide by 1<<pow with rounding
504 * @param pow : shift value
509 static picoos_int32 picocep_fixptdivpow(picoos_int32 a, picoos_uint8 pow) argument
516 big = 1 << (pow
601 picoos_uint8 multsz, pow; local
[all...]
/external/eigen/Eigen/src/Eigen2Support/
H A DCwiseOperators.h121 Cwise<ExpressionType>::pow(const Scalar& exponent) const function in class:Eigen::Cwise
/external/guava/guava/src/com/google/common/math/
H A DIntMath.java159 * {@code BigInteger.valueOf(b).pow(k).intValue()}. This implementation runs in {@code O(log k)}
167 public static int pow(int b, int k) { method in class:IntMath
386 * <p>{@link #pow} may be faster, but does not check for overflow.
H A DLongMath.java197 * {@code BigInteger.valueOf(b).pow(k).longValue()}. This implementation runs in {@code O(log k)}
202 public static long pow(long b, int k) { method in class:LongMath
/external/clang/test/CodeGenCXX/
H A Dtemp-order.cpp5 static unsigned pow(unsigned Base, unsigned Power) { function
30 TT.Product *= pow(P, ++TT.Index);
154 #define ORDER2(a, b) (pow(a, 1) * pow(b, 2))
155 #define ORDER3(a, b, c) (ORDER2(a, b) * pow(c, 3))
156 #define ORDER4(a, b, c, d) (ORDER3(a, b, c) * pow(d, 4))
157 #define ORDER5(a, b, c, d, e) (ORDER4(a, b, c, d) * pow(e, 5))
158 #define ORDER6(a, b, c, d, e, f) (ORDER5(a, b, c, d, e) * pow(f, 6))
/external/stlport/src/
H A Dcomplex.cpp198 // exp, log, pow for complex<float>, complex<double>, and complex<long double>
271 // pow
311 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const float& a, const complex<float>& b) function
314 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const complex<float>& z_in, int n) function
317 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const complex<float>& a, const float& b) function
320 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const complex<float>& a, const complex<float>& b) function
323 _STLP_DECLSPEC complex<double> _STLP_CALL pow(const double& a, const complex<double>& b) function
326 _STLP_DECLSPEC complex<double> _STLP_CALL pow(const complex<double>& z_in, int n) function
329 _STLP_DECLSPEC complex<double> _STLP_CALL pow(const complex<double>& a, const double& b) function
332 _STLP_DECLSPEC complex<double> _STLP_CALL pow(cons function
336 _STLP_DECLSPEC complex<long double> _STLP_CALL pow(const long double& a, function
341 _STLP_DECLSPEC complex<long double> _STLP_CALL pow(const complex<long double>& z_in, int n) function
344 _STLP_DECLSPEC complex<long double> _STLP_CALL pow(const complex<long double>& a, function
348 _STLP_DECLSPEC complex<long double> _STLP_CALL pow(const complex<long double>& a, function
[all...]
/external/webkit/Source/JavaScriptCore/wtf/
H A DMathExtras.h183 // Work around a bug in the Microsoft CRT, where pow(NaN, 0) yields NaN instead of 1.
184 inline double wtf_pow(double x, double y) { return y == 0 ? 1 : pow(x, y); }
188 #define pow(x, y) wtf_pow(x, y) macro
/external/ceres-solver/include/ceres/
H A Djet.h412 inline double pow (double x, double y) { return std::pow(x, y); } function in namespace:ceres
575 // pow -- base is a differentiatble function, exponent is a constant.
578 Jet<T, N> pow(const Jet<T, N>& f, double g) { function in namespace:ceres
580 out.a = pow(f.a, g);
581 T const temp = g * pow(f.a, g - T(1.0));
586 // pow -- base is a constant, exponent is a differentiable function.
589 Jet<T, N> pow(double f, const Jet<T, N>& g) { function in namespace:ceres
591 out.a = pow(f, g.a);
598 // pow
601 Jet<T, N> pow(const Jet<T, N>& f, const Jet<T, N>& g) { function in namespace:ceres
[all...]
/external/eigen/unsupported/Eigen/src/AutoDiff/
H A DAutoDiffScalar.h49 * - std::abs, std::sqrt, std::pow, std::exp, std::log, std::sin, std::cos,
50 * - internal::abs, internal::sqrt, internal::pow, internal::exp, internal::log, internal::sin, internal::cos,
571 pow(const Eigen::AutoDiffScalar<DerType>& x, typename Eigen::internal::traits<DerType>::Scalar y) function in namespace:Eigen
576 std::pow(x.value(),y),
577 x.derivatives() * (y * std::pow(x.value(),y-1)));
/external/stlport/stlport/stl/
H A D_cmath.h382 _STLP_DMATH_INLINE2(pow)
453 _STLP_DEF_MATH_INLINE2(pow, pow)
458 inline float pow(float __x, int __y) { return _STLP_CMATH_FUNC_NAMESPACE::powf(__x, __STATIC_CAST(float,__y)); } function
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(__x, __STATIC_CAST(float,__y))); }
465 inline double pow(double __x, int __y) { return _STLP_CMATH_FUNC_NAMESPACE::pow(__x, __STATIC_CAST(double,__y)); } function
469 inline long double pow(lon function
472 inline long double pow(long double __x, int __y) { return ::__powl(__x, __STATIC_CAST(long double,__y)); } function
474 inline long double pow(long double __x, int __y) { return _STLP_VENDOR_CSTD::__powl(__x, __STATIC_CAST(long double,__y)); } function
478 inline long double pow(long double __x, int __y) { return __STATIC_CAST(long double, _STLP_CMATH_FUNC_NAMESPACE::pow(__x, __STATIC_CAST(long double,__y))); } function
[all...]
/external/icu4c/i18n/
H A Dnfsubs.cpp1326 int32_t pow = 0; local
1329 ++pow;
/external/clang/lib/Headers/
H A Dtgmath.h469 // pow
477 __tg_pow(double __x, double __y) {return pow(__x, __y);}
496 #undef pow macro
497 #define pow(__x, __y) __tg_pow(__tg_promote2((__x), (__y))(__x), \ macro
/external/clang/lib/include/
H A Dtgmath.h469 // pow
477 __tg_pow(double __x, double __y) {return pow(__x, __y);}
496 #undef pow macro
497 #define pow(__x, __y) __tg_pow(__tg_promote2((__x), (__y))(__x), \ macro
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DFastMath.java91 return (int) Math.pow(2, Math.ceil(Math.log(number) / Math.log(2)));
609 * so that pow(base, return)==value (contributed by vear)
623 * @see java.lang.Math#pow(double, double)
625 public static float pow(float fBase, float fExponent) { method in class:FastMath
626 return (float) Math.pow(fBase, fExponent);
/external/dropbear/libtommath/mtest/
H A Dmpi.c666 int pow; local
674 if((pow = s_mp_ispow2d(d)) >= 0) {
677 mask = (1 << pow) - 1;
682 s_mp_div_2d(q, pow);
3872 int pow = 0; local
3875 ++pow; d >>= 1;
3879 return pow;
/external/eigen/unsupported/test/mpreal/
H A Dmpreal.h314 friend const mpreal pow (const mpreal& a, const mpreal& b, mp_rnd_t rnd_mode = mpreal::default_rnd);
315 friend const mpreal pow (const mpreal& a, const mpz_t b, mp_rnd_t rnd_mode = mpreal::default_rnd);
316 friend const mpreal pow (const mpreal& a, const unsigned long int b, mp_rnd_t rnd_mode = mpreal::default_rnd);
317 friend const mpreal pow (const mpreal& a, const long int b, mp_rnd_t rnd_mode = mpreal::default_rnd);
318 friend const mpreal pow (const unsigned long int a, const mpreal& b, mp_rnd_t rnd_mode = mpreal::default_rnd);
319 friend const mpreal pow (const unsigned long int a, const unsigned long int b, mp_rnd_t rnd_mode = mpreal::default_rnd);
618 // pow
619 const mpreal pow(const mpreal& a, const unsigned int b, mp_rnd_t rnd_mode = mpreal::default_rnd);
620 const mpreal pow(const mpreal& a, const int b, mp_rnd_t rnd_mode = mpreal::default_rnd);
621 const mpreal pow(cons
2427 inline const mpreal pow(const mpreal& a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2434 inline const mpreal pow(const mpreal& a, const mpz_t b, mp_rnd_t rnd_mode) function in namespace:mpfr
2441 inline const mpreal pow(const mpreal& a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2448 inline const mpreal pow(const mpreal& a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2453 inline const mpreal pow(const mpreal& a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2460 inline const mpreal pow(const mpreal& a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2465 inline const mpreal pow(const mpreal& a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2470 inline const mpreal pow(const mpreal& a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2475 inline const mpreal pow(const unsigned long int a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2482 inline const mpreal pow(const unsigned int a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2487 inline const mpreal pow(const long int a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2493 inline const mpreal pow(const int a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2499 inline const mpreal pow(const long double a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2504 inline const mpreal pow(const double a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2510 inline const mpreal pow(const unsigned long int a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2517 inline const mpreal pow(const unsigned long int a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2522 inline const mpreal pow(const unsigned long int a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2528 inline const mpreal pow(const unsigned long int a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2534 inline const mpreal pow(const unsigned long int a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2539 inline const mpreal pow(const unsigned long int a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2545 inline const mpreal pow(const unsigned int a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2550 inline const mpreal pow(const unsigned int a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2555 inline const mpreal pow(const unsigned int a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2561 inline const mpreal pow(const unsigned int a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2567 inline const mpreal pow(const unsigned int a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2572 inline const mpreal pow(const unsigned int a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2578 inline const mpreal pow(const long int a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2584 inline const mpreal pow(const long int a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2590 inline const mpreal pow(const long int a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2601 inline const mpreal pow(const long int a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2612 inline const mpreal pow(const long int a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2618 inline const mpreal pow(const long int a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2625 inline const mpreal pow(const int a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2631 inline const mpreal pow(const int a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2637 inline const mpreal pow(const int a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2648 inline const mpreal pow(const int a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2659 inline const mpreal pow(const int a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2665 inline const mpreal pow(const int a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2672 inline const mpreal pow(const long double a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2677 inline const mpreal pow(const long double a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2682 inline const mpreal pow(const long double a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2687 inline const mpreal pow(const long double a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2692 inline const mpreal pow(const long double a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2697 inline const mpreal pow(const double a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2702 inline const mpreal pow(const double a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2707 inline const mpreal pow(const double a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2712 inline const mpreal pow(const double a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2717 inline const mpreal pow(const double a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
[all...]
/external/llvm/include/llvm/Target/
H A DTargetLibraryInfo.h409 /// double pow(double x, double y);
410 pow, enumerator in enum:llvm::LibFunc::Func
/external/webkit/Source/WebKit/chromium/src/
H A DWebViewImpl.cpp143 // Get rid of WTF's pow define so we can use std::pow.
144 #undef pow macro
145 #include <cmath> // for std::pow
1711 return std::pow(textSizeMultiplierRatio, zoomLevel);

Completed in 1077 milliseconds

12