Searched defs:exponent (Results 1 - 2 of 2) sorted by relevance

/libcore/luni/src/main/java/java/lang/
H A DHexStringParser.java69 private long exponent; field in class:HexStringParser
119 exponent <<= MANTISSA_WIDTH;
120 return sign | exponent | mantissa;
131 * Parses the exponent field.
141 exponent = expSign * Long.parseLong(exponentStr);
144 exponent = expSign * Long.MAX_VALUE;
165 if (exponent >= MAX_EXPONENT) {
170 if (exponent <= MIN_EXPONENT) {
182 if (exponent >= 1) {
191 exponent
[all...]
/libcore/luni/src/main/java/java/math/
H A DBigInteger.java977 * pow(this, exponent) mod modulus}. The modulus must be positive. The
979 * If the exponent is negative, then
980 * {@code pow(this.modInverse(modulus), -exponent) mod modulus} is computed.
984 * @throws NullPointerException if {@code modulus == null} or {@code exponent == null}.
985 * @throws ArithmeticException if {@code modulus < 0} or if {@code exponent < 0} and
988 public BigInteger modPow(BigInteger exponent, BigInteger modulus) { argument
992 int exponentSignum = exponent.signum();
997 return new BigInteger(BigInt.modExp(base.getBigInt(), exponent.getBigInt(), modulus.getBigInt()));

Completed in 60 milliseconds