Searched defs:pow (Results 1 - 25 of 44) 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.java25 public void exponentiateX(long pow, byte[] output) argument
29 while (pow > 0)
31 if ((pow & 1L) != 0)
37 pow >>>= 1;
/external/eigen/Eigen/src/Core/
H A DGlobalFunctions.h55 pow(const Eigen::ArrayBase<Derived>& x, const typename Derived::Scalar& exponent) { function in namespace:Eigen
56 return x.derived().pow(exponent);
61 pow(const Eigen::ArrayBase<Derived>& x, const Eigen::ArrayBase<Derived>& exponents) function in namespace:Eigen
H A DMathFunctions.h373 * Implementation of pow *
382 using std::pow;
383 return pow(x, y);
623 inline EIGEN_MATHFUNC_RETVAL(pow, Scalar) pow(const Scalar& x, const Scalar& y) function in namespace:Eigen::numext
625 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...]
/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/chromium_org/third_party/skia/experimental/Intersection/
H A DCubicParameterizationCode.cpp235 int pow = 1; local
242 pow = exp - '0';
245 c.n[x - 'a'] = pow;
/external/chromium_org/third_party/tlslite/tests/
H A Dtlstest.py400 assert server.pow(2,4) == 16
406 assert server.pow(2,4) == 16
411 assert server.pow(2,4) == 16
772 def pow(self, x, y): return pow(x, y) member in class:serverTestCmd.MyFuncs
/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/lzma/CPP/7zip/UI/Console/
H A DBenchCon.cpp207 int pow = (dictionary < ((UInt32)1 << kStartDicLog)) ? kBenchMinDicLogSize : kStartDicLog; local
208 while (((UInt32)1 << pow) > dictionary)
209 pow--;
210 for (; ((UInt32)1 << pow) <= dictionary; pow++)
212 fprintf(f, "%2d:", pow);
213 callback.dictionarySize = (UInt32)1 << pow;
270 for (int pow = 10; pow < 32; pow
[all...]
/external/skia/experimental/Intersection/
H A DCubicParameterizationCode.cpp235 int pow = 1; local
242 pow = exp - '0';
245 c.n[x - 'a'] = pow;
/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/chromium_org/third_party/WebKit/Source/wtf/
H A DMathExtras.h168 // Work around a bug in the Microsoft CRT, where pow(NaN, 0) yields NaN instead of 1.
169 inline double wtf_pow(double x, double y) { return y == 0 ? 1 : pow(x, y); }
173 #define pow(x, y) wtf_pow(x, y) macro
/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, numext::pow, internal::exp, internal::log, internal::sin, internal::cos,
581 pow(const Eigen::AutoDiffScalar<DerType>& x, typename Eigen::internal::traits<DerType>::Scalar y) function in namespace:Eigen
586 std::pow(x.value(),y),
587 x.derivatives() * (y * std::pow(x.value(),y-1)));
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
H A DMatrixPower.h24 MatrixPowerRetval(MatrixPower<MatrixType>& pow, RealScalar p) : m_pow(pow), m_p(p) argument
84 res(0,0) = std::pow(m_A(0,0), m_p);
111 using std::pow;
114 res.coeffRef(0,0) = pow(m_A.coeff(0,0), p);
117 res.coeffRef(i,i) = pow(m_A.coeff(i,i), p);
119 res.coeffRef(i-1,i) = p * pow(m_A.coeff(i,i), p-1);
268 * calling MatrixBase::pow().
362 res(0,0) = std::pow(m_A.coeff(0,0), p);
389 if (res>RealScalar(0.5) && res>(1-res)*std::pow(m_conditionNumbe
504 const MatrixPowerReturnValue<Derived> MatrixBase<Derived>::pow(const RealScalar& p) const function in class:Eigen::MatrixBase
[all...]
/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/ceres-solver/include/ceres/
H A Djet.h392 inline double pow (double x, double y) { return std::pow(x, y); } function in namespace:ceres
568 // pow -- base is a differentiable function, exponent is a constant.
571 Jet<T, N> pow(const Jet<T, N>& f, double g) { function in namespace:ceres
572 T const tmp = g * pow(f.a, g - T(1.0));
573 return Jet<T, N>(pow(f.a, g), tmp * f.v);
576 // pow -- base is a constant, exponent is a differentiable function.
579 Jet<T, N> pow(double f, const Jet<T, N>& g) { function in namespace:ceres
580 T const tmp = pow(f, g.a);
585 // pow
588 Jet<T, N> pow(const Jet<T, N>& f, const Jet<T, N>& g) { function in namespace:ceres
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Dnfsubs.cpp1279 int32_t pow = 0; local
1282 ++pow;
/external/icu/icu4c/source/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/fio/
H A Dparse.c187 unsigned int i, pow = 0, mult = kb_base; local
204 pow = 5;
207 pow = 4;
210 pow = 3;
213 pow = 2;
216 pow = 1;
219 pow = 5;
221 pow = 4;
223 pow = 3;
225 pow
[all...]

Completed in 835 milliseconds

12