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

/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/
H A Dw_pow.c29 * wrapper pow(x,y) return x**y
36 double pow(double x, double y) /* wrapper pow */ function
38 double pow(x,y) /* wrapper pow */
50 return __kernel_standard(x,y,42); /* pow(NaN,0.0) */
56 return __kernel_standard(x,y,20); /* pow(0.0,0.0) */
58 return __kernel_standard(x,y,23); /* pow(0.0,negative) */
64 return __kernel_standard(x,y,24); /* pow neg**non-int */
66 return __kernel_standard(x,y,21); /* pow overflo
[all...]
/openjdk7/jdk/src/share/classes/java/lang/
H A DMath.java625 public static double pow(double a, double b) { method in class:Math
626 return StrictMath.pow(a, b); // default impl. delegates to StrictMath
H A DStrictMath.java56 * {@code cbrt}, {@code atan2}, {@code pow},
613 public static native double pow(double a, double b); method in class:StrictMath
/openjdk7/jdk/test/java/math/BigInteger/
H A DBigIntegerTest.java60 public static void pow() { method in class:BigIntegerTest
66 BigInteger y = x.pow(power);
75 report("pow", failCount1);
253 (x.multiply(BigInteger.valueOf(2L).pow(n))))
256 BigInteger y[] =x.divideAndRemainder(BigInteger.valueOf(2L).pow(n));
391 BigInteger w = base.pow(exp.intValue()).mod(m);
484 p1 = p1.pow(mersenne_powers[i]);
719 pow();
/openjdk7/jdk/src/share/native/java/lang/fdlibm/include/
H A Djfdlibm.h46 #define pow jpow macro
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkBuilder.cpp312 Value* SharkBuilder::pow() { function in class:SharkBuilder
313 return make_function("llvm.pow.f64", "dd", "d");
/openjdk7/jdk/src/share/classes/java/math/
H A DBigDecimal.java166 * For example, the result of the {@code pow} method using the
167 * {@linkplain #pow(int, MathContext) specified algorithm} can
841 b = BigInteger.valueOf(5).pow(-exponent).multiply(s);
844 b = BigInteger.valueOf(2).pow(exponent).multiply(s);
1940 * 999999999, inclusive. {@code ZERO.pow(0)} returns {@link
1951 public BigDecimal pow(int n) { method in class:BigDecimal
1954 // No need to calculate pow(n) if result will over/underflow.
1958 return new BigDecimal(intVal.pow(n), newScale);
2012 public BigDecimal pow(int n, MathContext mc) { method in class:BigDecimal
2014 return pow(
[all...]
H A DBigInteger.java1393 public BigInteger pow(int exponent) { method in class:BigInteger
1563 * <tt>(this<sup>exponent</sup> mod m)</tt>. (Unlike {@code pow}, this
1608 int p = m.getLowestSetBit(); // Max pow of 2 that divides m
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Dmpi.c562 int pow; local
570 if((pow = s_mp_ispow2d(d)) >= 0) {
573 mask = ((mp_digit)1 << pow) - 1;
578 s_mp_div_2d(q, pow);
3339 int pow; local
3347 if (0 <= (pow = s_mp_ispow2d(d))) {
3348 return s_mp_mul_2d(a, (mp_digit)pow);
4533 int pow = 0; local
4536 pow += 16;
4538 pow
[all...]
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_LIR.hpp2063 void pow (LIR_Opr arg1, LIR_Opr arg2, LIR_Opr res, LIR_Opr tmp1, LIR_Opr tmp2, LIR_Opr tmp3, LIR_Opr tmp4, LIR_Opr tmp5) { append(new LIR_Op2(lir_pow, arg1, arg2, res, tmp1, tmp2, tmp3, tmp4, tmp5)); } function in class:LIR_List

Completed in 447 milliseconds