/libcore/luni/src/main/java/java/math/ |
H A D | Multiplication.java | 101 * @param exp a positive {@code long} exponent 102 * @return {@code val * 10<sup>exp</sup>} 104 static BigInteger multiplyByTenPow(BigInteger val, long exp) { argument 105 // PRE: exp >= 0 106 return ((exp < tenPows.length) 107 ? multiplyByPositiveInt(val, tenPows[(int)exp]) 108 : val.multiply(powerOf10(exp))); 115 * @param exp the exponent of power of ten, it must be positive. 116 * @return a {@code BigInteger} with value {@code 10<sup>exp</sup>}. 118 static BigInteger powerOf10(long exp) { argument 177 multiplyByFivePow(BigInteger val, int exp) argument [all...] |
H A D | BigInt.java | 286 static BigInt exp(BigInt a, int p) { method in class:BigInt
|
H A D | BigInteger.java | 899 * Returns a {@code BigInteger} whose value is {@code pow(this, exp)}. 901 * @throws ArithmeticException if {@code exp < 0}. 903 public BigInteger pow(int exp) { argument 904 if (exp < 0) { 905 throw new ArithmeticException("exp < 0: " + exp); 907 return new BigInteger(BigInt.exp(getBigInt(), exp));
|
/libcore/ojluni/src/main/native/ |
H A D | jfdlibm.h | 43 #define exp jexp macro
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
H A D | SpliteratorTestHelper.java | 157 Collection<T> exp = Collections.unmodifiableList(fromForEach); 160 testForEach(exp, supplier, boxingAdapter, asserter); 161 testTryAdvance(exp, supplier, boxingAdapter, asserter); 162 testMixedTryAdvanceForEach(exp, supplier, boxingAdapter, asserter); 163 testMixedTraverseAndSplit(exp, supplier, boxingAdapter, asserter); 165 testSplitOnce(exp, supplier, boxingAdapter, asserter); 166 testSplitSixDeep(exp, supplier, boxingAdapter, asserter); 167 testSplitUntilNull(exp, supplier, boxingAdapter, asserter); 198 Collection<T> exp, 220 assertEquals(sizeIfKnown, exp 197 testForEach( Collection<T> exp, Supplier<S> supplier, UnaryOperator<Consumer<T>> boxingAdapter, ContentAsserter<T> asserter) argument 227 testTryAdvance( Collection<T> exp, Supplier<S> supplier, UnaryOperator<Consumer<T>> boxingAdapter, ContentAsserter<T> asserter) argument 257 testMixedTryAdvanceForEach( Collection<T> exp, Supplier<S> supplier, UnaryOperator<Consumer<T>> boxingAdapter, ContentAsserter<T> asserter) argument 288 testMixedTraverseAndSplit( Collection<T> exp, Supplier<S> supplier, UnaryOperator<Consumer<T>> boxingAdapter, ContentAsserter<T> asserter) argument 355 testSplitOnce( Collection<T> exp, Supplier<S> supplier, UnaryOperator<Consumer<T>> boxingAdapter, ContentAsserter<T> asserter) argument 383 testSplitSixDeep( Collection<T> exp, Supplier<S> supplier, UnaryOperator<Consumer<T>> boxingAdapter, ContentAsserter<T> asserter) argument 479 testSplitUntilNull( Collection<T> exp, Supplier<S> supplier, UnaryOperator<Consumer<T>> boxingAdapter, ContentAsserter<T> asserter) argument [all...] |
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
H A D | SpliteratorTestHelper.java | 157 Collection<T> exp = Collections.unmodifiableList(fromForEach); 160 testForEach(exp, supplier, boxingAdapter, asserter); 161 testTryAdvance(exp, supplier, boxingAdapter, asserter); 162 testMixedTryAdvanceForEach(exp, supplier, boxingAdapter, asserter); 163 testMixedTraverseAndSplit(exp, supplier, boxingAdapter, asserter); 165 testSplitOnce(exp, supplier, boxingAdapter, asserter); 166 testSplitSixDeep(exp, supplier, boxingAdapter, asserter); 167 testSplitUntilNull(exp, supplier, boxingAdapter, asserter); 198 Collection<T> exp, 220 assertEquals(sizeIfKnown, exp 197 testForEach( Collection<T> exp, Supplier<S> supplier, UnaryOperator<Consumer<T>> boxingAdapter, ContentAsserter<T> asserter) argument 227 testTryAdvance( Collection<T> exp, Supplier<S> supplier, UnaryOperator<Consumer<T>> boxingAdapter, ContentAsserter<T> asserter) argument 257 testMixedTryAdvanceForEach( Collection<T> exp, Supplier<S> supplier, UnaryOperator<Consumer<T>> boxingAdapter, ContentAsserter<T> asserter) argument 288 testMixedTraverseAndSplit( Collection<T> exp, Supplier<S> supplier, UnaryOperator<Consumer<T>> boxingAdapter, ContentAsserter<T> asserter) argument 355 testSplitOnce( Collection<T> exp, Supplier<S> supplier, UnaryOperator<Consumer<T>> boxingAdapter, ContentAsserter<T> asserter) argument 383 testSplitSixDeep( Collection<T> exp, Supplier<S> supplier, UnaryOperator<Consumer<T>> boxingAdapter, ContentAsserter<T> asserter) argument 479 testSplitUntilNull( Collection<T> exp, Supplier<S> supplier, UnaryOperator<Consumer<T>> boxingAdapter, ContentAsserter<T> asserter) argument [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Math.java | 243 public static native double exp(double a); method in class:Math 635 // - a finite number with abs(a) < exp(2,FloatConsts.SIGNIFICAND_WIDTH-32) < 1/2 684 // - a finite number with abs(a) < exp(2,DoubleConsts.SIGNIFICAND_WIDTH-64) < 1/2 1573 * result of <i>e</i><sup>x</sup> than {@code exp(x)}.
|
H A D | StrictMath.java | 55 * {@code exp}, {@code log}, {@code log10}, 196 public static native double exp(double a); method in class:StrictMath 1342 * result of <i>e</i><sup>x</sup> than {@code exp(x)}.
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | DecimalFormatSymbols.java | 484 void setExponentialSymbol(char exp) argument 486 exponential = exp; 494 * @param exp the exponent separator string 495 * @exception NullPointerException if <code>exp</code> is null 499 public void setExponentSeparator(String exp) argument 501 if (exp == null) { 504 exponentialSeparator = exp;
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Formatter.java | 1849 // + 3 (max # exp digits) + 4 (error) = 30 3315 char[] exp = (value == 0.0) 3320 newW = adjustWidth(width - exp.length - 1, f, neg); 3330 char sign = exp[0]; 3334 char[] tmp = new char[exp.length - 1]; 3335 System.arraycopy(exp, 1, tmp, 0, exp.length - 1); 3378 char[] exp = exponent(v, len); 3379 if (exp != null) { 3393 if (exp ! 3749 private StringBuilder exp; field in class:Formatter.FormatSpecifier.BigDecimalLayout [all...] |