Home
last modified time | relevance | path

Searched refs:remainder (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
DRegexpTarget.java40 Object found(String remainder); in found() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerDivideTest.java409 aNumber.remainder(bNumber); in testCase15()
426 BigInteger result = aNumber.remainder(bNumber); in testCase16()
446 BigInteger result = aNumber.remainder(bNumber); in testCase17()
466 BigInteger result = aNumber.remainder(bNumber); in testCase18()
487 BigInteger result = aNumber.remainder(bNumber); in testCase19()
508 BigInteger result = aNumber.remainder(bNumber); in testCase20()
528 BigInteger result = aNumber.remainder(bNumber); in testRemainderKnuth1()
548 BigInteger result = aNumber.remainder(bNumber); in testRemainderKnuthOneDigitByOneDigit()
568 BigInteger result = aNumber.remainder(bNumber); in testRemainderKnuthMultiDigitsByOneDigit()
DBigIntegerTest.java600 largePos.remainder(zero); in test_remainderLjava_math_BigInteger()
606 bi1.remainder(zero); in test_remainderLjava_math_BigInteger()
612 bi3.negate().remainder(zero); in test_remainderLjava_math_BigInteger()
618 zero.remainder(zero); in test_remainderLjava_math_BigInteger()
904 BigInteger r = i1.remainder(i2); in testDiv()
DBigDecimalArithmeticTest.java1469 BigDecimal result = aNumber.remainder(bNumber); in testRemainder1()
1486 BigDecimal result = aNumber.remainder(bNumber); in testRemainder2()
1506 BigDecimal result = aNumber.remainder(bNumber, mc); in testRemainderMathContextHALF_UP()
1526 BigDecimal result = aNumber.remainder(bNumber, mc); in testRemainderMathContextHALF_DOWN()
/libcore/luni/src/main/java/java/math/
DBigInt.java296 static void division(BigInt dividend, BigInt divisor, BigInt quotient, BigInt remainder) { in division() argument
304 if (remainder != null) { in division()
305 remainder.makeValid(); in division()
306 rem = remainder.bignum; in division()
DBigInteger.java923 BigInt remainder = new BigInt(); in divideAndRemainder() local
924 BigInt.division(getBigInt(), divisorBigInt, quotient, remainder); in divideAndRemainder() local
925 return new BigInteger[] {new BigInteger(quotient), new BigInteger(remainder) }; in divideAndRemainder()
951 public BigInteger remainder(BigInteger divisor) { in remainder() method in BigInteger
952 BigInt remainder = new BigInt(); in remainder() local
953 BigInt.division(getBigInt(), divisor.getBigInt(), null, remainder); in remainder() local
954 return new BigInteger(remainder); in remainder()
DBigDecimal.java1079 BigInteger remainder = quotAndRem[1]; in divideBigIntegers() local
1080 if (remainder.signum() == 0) { in divideBigIntegers()
1086 long rem = remainder.longValue(); in divideBigIntegers()
1095 compRem = remainder.abs().shiftLeftOneBit().compareTo(scaledDivisor.abs()); in divideBigIntegers()
1112 long remainder = scaledDividend % scaledDivisor; in dividePrimitiveLongs() local
1114 if (remainder != 0) { in dividePrimitiveLongs()
1117 compRem = longCompareTo(Math.abs(remainder) * 2,Math.abs(scaledDivisor)); in dividePrimitiveLongs()
1513 public BigDecimal remainder(BigDecimal divisor) { in remainder() method in BigDecimal
1539 public BigDecimal remainder(BigDecimal divisor, MathContext mc) { in remainder() method in BigDecimal
/libcore/support/src/test/java/libcore/java/security/
DStandardNames.java1171 String remainder = cipherSuite.substring("TLS_".length()); in isPermittedDefaultCipherSuite() local
1172 int macDelimiterIndex = remainder.lastIndexOf('_'); in isPermittedDefaultCipherSuite()
1175 String mac = remainder.substring(macDelimiterIndex + 1); in isPermittedDefaultCipherSuite()
1178 remainder = remainder.substring(0, macDelimiterIndex); in isPermittedDefaultCipherSuite()
1179 int withDelimiterIndex = remainder.indexOf("_WITH_"); in isPermittedDefaultCipherSuite()
1183 String keyExchange = remainder.substring(0, withDelimiterIndex); in isPermittedDefaultCipherSuite()
1185 String bulkEncryptionCipher = remainder.substring(withDelimiterIndex + "_WITH_".length()); in isPermittedDefaultCipherSuite()
/libcore/ojluni/src/main/native/
Djfdlibm.h59 #define remainder jremainder macro
Dfdlibm.h164 extern double remainder __P((double, double));
DMath.c99 return remainder(dividend, divisor); in Math_IEEEremainder()
/libcore/luni/src/test/java/libcore/java/math/
DOldBigDecimalArithmeticTest.java436 BigDecimal result = aNumber.remainder(bNumber); in testRemainderByZero()
452 res = a.remainder(b, mc); in testRemainderMathContextNonTrivial()
458 res = a.remainder(b, mc); in testRemainderMathContextNonTrivial()
465 res = a.remainder(b, mc); in testRemainderMathContextNonTrivial()