/libcore/benchmarks/src/benchmarks/regression/ |
StrictMathBenchmark.java | 281 StrictMath.pow(d, d);
|
/libcore/ojluni/src/main/java/java/lang/ |
Math.java | 626 public static native double pow(double a, double b); method in class:Math 655 // a is a finite number such that pow(2,-32) <= ulp(a) < 1 704 // a is a finite number such that pow(2,-64) <= ulp(a) < 1 [all...] |
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
BoundedRational.java | 99 String digits = mNum.abs().multiply(BigInteger.TEN.pow(n)).divide(mDen.abs()).toString(); 359 public BoundedRational pow(BigInteger exp) { method in class:BoundedRational 361 return inverse(pow(exp.negate())); 370 public static BoundedRational pow(BoundedRational base, BoundedRational exp) { method in class:BoundedRational 375 // Questionable if base has undefined value. Java.lang.Math.pow() returns 1 anyway, 386 return base.pow(exp.mNum);
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8/lib/gcc/arm-eabi/4.8/include/ |
tgmath.h | 119 #define pow(z1,z2) __TGMATH_CPLX_2(z1, z2, pow, cpow) macro
|
/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin10/4.2.1/include/ |
tgmath.h | 130 #define pow(z1,z2) __TGMATH_CPLX_2(z1, z2, pow, cpow) macro
|
/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin11/4.2.1/include/ |
tgmath.h | 130 #define pow(z1,z2) __TGMATH_CPLX_2(z1, z2, pow, cpow) macro
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/lib/gcc/arm-eabi/4.8/include/ |
tgmath.h | 119 #define pow(z1,z2) __TGMATH_CPLX_2(z1, z2, pow, cpow) macro
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
tgmath.h | 328 #define pow(Val1, Val2) __TGMATH_BINARY_REAL_IMAG (Val1, Val2, pow, cpow) macro
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
tgmath.h | 328 #define pow(Val1, Val2) __TGMATH_BINARY_REAL_IMAG (Val1, Val2, pow, cpow) macro
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/include/ |
tgmath.h | 119 #define pow(z1,z2) __TGMATH_CPLX_2(z1, z2, pow, cpow) macro
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
BigFraction.java | 940 public BigFraction pow(final int exponent) { method in class:BigFraction 942 return new BigFraction(denominator.pow(-exponent), numerator.pow(-exponent)); 944 return new BigFraction(numerator.pow(exponent), denominator.pow(exponent)); 957 public BigFraction pow(final long exponent) { method in class:BigFraction 959 return new BigFraction(MathUtils.pow(denominator, -exponent), 960 MathUtils.pow(numerator, -exponent)); 962 return new BigFraction(MathUtils.pow(numerator, exponent), 963 MathUtils.pow(denominator, exponent)) 976 public BigFraction pow(final BigInteger exponent) { method in class:BigFraction 996 public double pow(final double exponent) { method in class:BigFraction [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
GraggBulirschStoerIntegrator.java | 718 double fac = stepControl2 / FastMath.pow(error / stepControl1, exp); 719 final double pow = FastMath.pow(stepControl3, exp); local 720 fac = FastMath.max(pow / stepControl4, FastMath.min(1 / pow, fac)); 827 double factor = FastMath.pow(0.5 * sequence[l2], l); 833 factor = FastMath.pow(0.5 * sequence[j + l2], l); 865 hInt = FastMath.abs(stepSize / FastMath.max(FastMath.pow(interpError, 1.0 / (mu+4)), [all...] |
/external/eigen/Eigen/src/Core/ |
MathFunctions.h | 523 * Implementation of pow * 533 EIGEN_USING_STD_MATH(pow); 534 return pow(x, y); 967 inline typename internal::pow_impl<ScalarX,ScalarY>::result_type pow(const ScalarX& x, const ScalarY& y) function in namespace:Eigen::numext [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorBase.h | 214 pow(Scalar exponent) const { function in class:Eigen::TensorBase [all...] |
/external/fio/ |
parse.c | 191 unsigned int i, pow = 0, mult = kb_base; local 208 pow = 5; 211 pow = 4; 214 pow = 3; 217 pow = 2; 220 pow = 1; 223 pow = 5; 225 pow = 4; 227 pow = 3; 229 pow = 2 [all...] |
/art/compiler/optimizing/ |
induction_var_range.cc | 60 int64_t pow = 1; local 63 pow = SafeMul(pow, b, overflow); 70 return pow; [all...] |
/external/clang/lib/Headers/ |
tgmath.h | 469 // 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/guava/guava-tests/test/com/google/common/math/ |
LongMathTest.java | 79 assertEquals(BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * i + 1), FLOOR), 83 BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * LongMath.halfPowersOf10.length + 1), FLOOR); 250 // Relies on the correctness of log10(long, FLOOR) and of pow(long, int). 255 boolean expectSuccess = LongMath.pow(10, floor) == x; 317 assertEquals(LongMath.pow(i, exp), valueOf(i) 318 .pow(exp) 527 BigInteger expectedResult = valueOf(b).pow(exp);
|
/external/libcxx/test/std/depr/depr.c.headers/ |
math_h.pass.cpp | 49 Ambiguous pow(Ambiguous, Ambiguous){ return Ambiguous(); } function 418 static_assert((std::is_same<decltype(pow((float)0, (float)0)), float>::value), ""); 419 static_assert((std::is_same<decltype(pow((bool)0, (float)0)), double>::value), ""); 420 static_assert((std::is_same<decltype(pow((unsigned short)0, (double)0)), double>::value), ""); 421 static_assert((std::is_same<decltype(pow((int)0, (long double)0)), long double>::value), ""); 422 static_assert((std::is_same<decltype(pow((float)0, (unsigned int)0)), double>::value), ""); 423 static_assert((std::is_same<decltype(pow((double)0, (long)0)), double>::value), ""); 424 static_assert((std::is_same<decltype(pow((long double)0, (unsigned long)0)), long double>::value), ""); 425 static_assert((std::is_same<decltype(pow((int)0, (long long)0)), double>::value), ""); 426 static_assert((std::is_same<decltype(pow((int)0, (unsigned long long)0)), double>::value), "") [all...] |
/external/libcxx/test/std/numerics/c.math/ |
cmath.pass.cpp | 50 Ambiguous pow(Ambiguous, Ambiguous){ return Ambiguous(); } function 420 static_assert((std::is_same<decltype(std::pow((float)0, (float)0)), float>::value), ""); 421 static_assert((std::is_same<decltype(std::pow((bool)0, (float)0)), double>::value), ""); 422 static_assert((std::is_same<decltype(std::pow((unsigned short)0, (double)0)), double>::value), ""); 423 static_assert((std::is_same<decltype(std::pow((int)0, (long double)0)), long double>::value), ""); 424 static_assert((std::is_same<decltype(std::pow((float)0, (unsigned int)0)), double>::value), ""); 425 static_assert((std::is_same<decltype(std::pow((double)0, (long)0)), double>::value), ""); 426 static_assert((std::is_same<decltype(std::pow((long double)0, (unsigned long)0)), long double>::value), ""); 427 static_assert((std::is_same<decltype(std::pow((int)0, (long long)0)), double>::value), ""); 428 static_assert((std::is_same<decltype(std::pow((int)0, (unsigned long long)0)), double>::value), "") [all...] |
/frameworks/base/core/java/android/os/ |
FileUtils.java | 781 long pow = 1; local 782 while ((val * pow) < size) { 786 pow *= 1000; 789 return val * pow;
|
/libcore/luni/src/main/java/java/math/ |
BigInteger.java | 121 * {@code [0, pow(2, numBits)-1]}. 149 * pow(2, bitLength)-1]} which is probably prime. The probability that the 471 * result is equivalent to {@code this * pow(2, n)} if n >= 0. The shift 473 * The result then corresponds to {@code floor(this / pow(2, -n))}. 528 * equivalent to {@code this & pow(2, n) != 0}. 574 * equivalent to {@code this | pow(2, n)}. 594 * equivalent to {@code this & ~pow(2, n)}. 614 * equivalent to {@code this ^ pow(2, n)}. 755 * big to be represented as a long, then {@code this % pow(2, 64)} is 899 * Returns a {@code BigInteger} whose value is {@code pow(this, exp)} 903 public BigInteger pow(int exp) { method in class:BigInteger [all...] |
/prebuilts/clang/host/darwin-x86/clang-2812033/lib64/clang/3.8/include/ |
tgmath.h | 469 // 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
|
/prebuilts/clang/host/darwin-x86/clang-3016494/lib64/clang/3.8/include/ |
tgmath.h | 469 // 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
|
/prebuilts/clang/host/darwin-x86/clang-3217047/lib64/clang/3.8/include/ |
tgmath.h | 469 // 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
|