Home
last modified time | relevance | path

Searched refs:MathUtils (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/main/java/libcore/math/
DMathUtils.java19 public final class MathUtils { class
20 private MathUtils() { } in MathUtils() method in MathUtils
/libcore/luni/src/main/java/java/math/
DBigDecimal.java25 import libcore.math.MathUtils;
158 …private static final int[] LONG_POWERS_OF_TEN_BIT_LENGTH = new int[MathUtils.LONG_POWERS_OF_TEN.le…
188 LONG_POWERS_OF_TEN_BIT_LENGTH[i] = bitLength(MathUtils.LONG_POWERS_OF_TEN[i]);
763 if(diffScale < MathUtils.LONG_POWERS_OF_TEN.length && in addAndMult10()
765 …return valueOf(thisValue.smallValue+augend.smallValue*MathUtils.LONG_POWERS_OF_TEN[diffScale],this… in addAndMult10()
860 if(diffScale < MathUtils.LONG_POWERS_OF_TEN.length && in subtract()
862 …return valueOf(this.smallValue-subtrahend.smallValue*MathUtils.LONG_POWERS_OF_TEN[diffScale],this.… in subtract()
868 if(diffScale < MathUtils.LONG_POWERS_OF_TEN.length && in subtract()
870 …return valueOf(this.smallValue*MathUtils.LONG_POWERS_OF_TEN[diffScale]-subtrahend.smallValue,subtr… in subtract()
1052 if(diffScale < MathUtils.LONG_POWERS_OF_TEN.length && in divide()
[all …]
/libcore/
Dnon_openjdk_java_files.bp371 "luni/src/main/java/libcore/math/MathUtils.java",