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

/libcore/luni/src/main/java/java/lang/
H A DMath.java604 * <li>{@code pow((anything), +0.0) = 1.0}</li>
605 * <li>{@code pow((anything), -0.0) = 1.0}</li>
606 * <li>{@code pow(x, 1.0) = x}</li>
607 * <li>{@code pow((anything), NaN) = NaN}</li>
608 * <li>{@code pow(NaN, (anything except 0)) = NaN}</li>
609 * <li>{@code pow(+/-(|x| > 1), +infinity) = +infinity}</li>
610 * <li>{@code pow(+/-(|x| > 1), -infinity) = +0.0}</li>
611 * <li>{@code pow(+/-(|x| < 1), +infinity) = +0.0}</li>
612 * <li>{@code pow(+/-(|x| < 1), -infinity) = +infinity}</li>
613 * <li>{@code pow(
635 public static native double pow(double x, double y); method in class:Math
[all...]
H A DStrictMath.java1427 * <li>{@code pow((anything), +0.0) = 1.0}</li>
1428 * <li>{@code pow((anything), -0.0) = 1.0}</li>
1429 * <li>{@code pow(x, 1.0) = x}</li>
1430 * <li>{@code pow((anything), NaN) = NaN}</li>
1431 * <li>{@code pow(NaN, (anything except 0)) = NaN}</li>
1432 * <li>{@code pow(+/-(|x| > 1), +infinity) = +infinity}</li>
1433 * <li>{@code pow(+/-(|x| > 1), -infinity) = +0.0}</li>
1434 * <li>{@code pow(+/-(|x| < 1), +infinity) = +0.0}</li>
1435 * <li>{@code pow(+/-(|x| < 1), -infinity) = +infinity}</li>
1436 * <li>{@code pow(
1459 public static native double pow(double x, double y); method in class:StrictMath
[all...]
/libcore/luni/src/main/java/java/math/
H A DBigInteger.java121 * {@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(thi
903 public BigInteger pow(int exp) { method in class:BigInteger
[all...]
H A DBigDecimal.java1602 * <p>{@code x.pow(0)} returns {@code 1}, even if {@code x == 0}.
1610 public BigDecimal pow(int n) { method in class:BigDecimal
1620 : new BigDecimal(getUnscaledValue().pow(n), safeLongToInt(newScale));
1635 public BigDecimal pow(int n, MathContext mc) { method in class:BigDecimal
1644 // In particular cases, it reduces the problem to call the other 'pow()'
1646 return pow(n);

Completed in 110 milliseconds