/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/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...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/ |
DiagBigDecimal.java | 2434 .pow(new android.icu.math.BigDecimal("-71")); method 2506 .pow( method [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/ |
DiagBigDecimal.java | 2430 .pow(new com.ibm.icu.math.BigDecimal("-71")); method 2502 .pow( method [all...] |
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
BoundedRational.java | 446 private BoundedRational pow(BigInteger exp) { method in class:BoundedRational 448 return inverse(pow(exp.negate())); 454 return multiply(pow(exp.subtract(BigInteger.ONE)), this); 459 BoundedRational tmp = pow(exp.shiftRight(1)); 466 public static BoundedRational pow(BoundedRational base, BoundedRational exp) { method in class:BoundedRational 471 // Questionable if base has undefined value. Java.lang.Math.pow() returns 1 anyway, 482 return base.pow(exp.mNum);
|
CalculatorExpr.java | 234 BigInteger den = BigInteger.TEN.pow(mFraction.length()); 236 num = num.multiply(BigInteger.TEN.pow(mExponent)); 239 den = den.multiply(BigInteger.TEN.pow(-mExponent)); 875 private static CR pow(CR base, BigInteger exp) { method in class:CalculatorExpr 877 return pow(base, exp.negate()).inverse(); 883 return pow(base, exp.subtract(BigInteger.ONE)).multiply(base); 888 CR tmp = pow(base, exp.shiftRight(1)); [all...] |
/packages/apps/ExactCalculator/tests/src/com/android/calculator2/ |
BRTest.java | 98 checkWeakEq(BoundedRational.pow(BR_15, x), 100 "pow(15,x):" + x); 122 checkEq(BoundedRational.pow(x, BR_15), 124 "pow(x,15):" + x); 181 check(BoundedRational.pow(null, BR_15) == null, "pow(null, 15)");
|
/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/numerics/c.math/ |
cmath.pass.cpp | 52 Ambiguous pow(Ambiguous, Ambiguous){ return Ambiguous(); } function 421 static_assert((std::is_same<decltype(std::pow((float)0, (float)0)), float>::value), ""); 422 static_assert((std::is_same<decltype(std::pow((bool)0, (float)0)), double>::value), ""); 423 static_assert((std::is_same<decltype(std::pow((unsigned short)0, (double)0)), double>::value), ""); 424 static_assert((std::is_same<decltype(std::pow((int)0, (long double)0)), long double>::value), ""); 425 static_assert((std::is_same<decltype(std::pow((float)0, (unsigned int)0)), double>::value), ""); 426 static_assert((std::is_same<decltype(std::pow((double)0, (long)0)), double>::value), ""); 427 static_assert((std::is_same<decltype(std::pow((long double)0, (unsigned long)0)), long double>::value), ""); 428 static_assert((std::is_same<decltype(std::pow((int)0, (long long)0)), double>::value), ""); 429 static_assert((std::is_same<decltype(std::pow((int)0, (unsigned long long)0)), double>::value), "") [all...] |
/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/darwin-x86/host/3.6/lib/clang/3.6/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/3.8/lib/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-2629532/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-2658975/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-2690385/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/linux-x86/3.8/lib/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/linux-x86/clang-2629532/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/linux-x86/clang-2658975/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/linux-x86/clang-2690385/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/linux-x86/host/3.6/lib/clang/3.6/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/go/darwin-x86/src/math/cmplx/ |
cmath_test.go | 217 var pow = []complex128{ var 659 // Special cases for Pow(0, c). 668 if f := Pow(zero, zp[0]); f != zp[1] { 669 t.Errorf("Pow(%g, %g) = %g, want %g", zero, zp[0], f, zp[1]) 674 if f := Pow(a, vc[i]); !cSoclose(pow[i], f, 4e-15) { 675 t.Errorf("Pow(%g, %g) = %g, want %g", a, vc[i], f, pow[i]) 679 if f := Pow(vcPowSC[i][0], vcPowSC[i][0]); !cAlike(powSC[i], f) { 680 t.Errorf("Pow(%g, %g) = %g, want %g", vcPowSC[i][0], vcPowSC[i][0], f, powSC[i] [all...] |
/prebuilts/go/linux-x86/src/math/cmplx/ |
cmath_test.go | 217 var pow = []complex128{ var 659 // Special cases for Pow(0, c). 668 if f := Pow(zero, zp[0]); f != zp[1] { 669 t.Errorf("Pow(%g, %g) = %g, want %g", zero, zp[0], f, zp[1]) 674 if f := Pow(a, vc[i]); !cSoclose(pow[i], f, 4e-15) { 675 t.Errorf("Pow(%g, %g) = %g, want %g", a, vc[i], f, pow[i]) 679 if f := Pow(vcPowSC[i][0], vcPowSC[i][0]); !cAlike(powSC[i], f) { 680 t.Errorf("Pow(%g, %g) = %g, want %g", vcPowSC[i][0], vcPowSC[i][0], f, powSC[i] [all...] |