Home
last modified time | relevance | path

Searched refs:divisor (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/main/java/java/math/
DDivision.java50 final int divisor) { in divideArrayByInt() argument
53 long bLong = divisor & 0xffffffffL; in divideArrayByInt()
67 long bPos = divisor >>> 1; in divideArrayByInt()
72 if ((divisor & 1) != 0) { in divideArrayByInt()
DBigDecimal.java991 public BigDecimal divide(BigDecimal divisor, int scale, int roundingMode) { in divide() argument
992 return divide(divisor, scale, RoundingMode.valueOf(roundingMode)); in divide()
1018 public BigDecimal divide(BigDecimal divisor, int scale, RoundingMode roundingMode) { in divide() argument
1023 if (divisor.isZero()) { in divide()
1027 long diffScale = ((long)this.scale - divisor.scale) - scale; in divide()
1036 if(this.bitLength < 64 && divisor.bitLength < 64 ) { in divide()
1039 divisor.smallValue, in divide()
1044 divisor.bitLength + LONG_POWERS_OF_TEN_BIT_LENGTH[(int)diffScale] < 64) { in divide()
1046 divisor.smallValue*MathUtils.LONG_POWERS_OF_TEN[(int)diffScale], in divide()
1054 divisor.smallValue, in divide()
[all …]
DBigInteger.java920 public BigInteger[] divideAndRemainder(BigInteger divisor) { in divideAndRemainder() argument
921 BigInt divisorBigInt = divisor.getBigInt(); in divideAndRemainder()
936 public BigInteger divide(BigInteger divisor) { in divide() argument
938 BigInt.division(getBigInt(), divisor.getBigInt(), quotient, null); in divide()
951 public BigInteger remainder(BigInteger divisor) { in remainder() argument
953 BigInt.division(getBigInt(), divisor.getBigInt(), null, remainder); in remainder()
DBigInt.java296 static void division(BigInt dividend, BigInt divisor, BigInt quotient, BigInt remainder) { in division() argument
310 NativeBN.BN_div(quot, rem, dividend.bignum, divisor.bignum); in division()
/libcore/ojluni/src/main/native/
DStrictMath.c116 jdouble divisor) in StrictMath_IEEEremainder() argument
118 return (jdouble) ieee_remainder(dividend, divisor); in StrictMath_IEEEremainder()
DMath.c98 jdouble divisor) { in Math_IEEEremainder() argument
99 return remainder(dividend, divisor); in Math_IEEEremainder()
/libcore/ojluni/src/main/java/java/text/
DSimpleDateFormat.java2142 final double divisor = Math.pow(10, width); in subParse() local
2143 value = (int) ((doubleValue / divisor) * 1000); in subParse()