/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigIntegerOperateBitsTest.java | 69 int aSign = 1; in testBitLengthPositive1() local 70 BigInteger aNumber = new BigInteger(aSign, aBytes); in testBitLengthPositive1() 79 int aSign = 1; in testBitLengthPositive2() local 80 BigInteger aNumber = new BigInteger(aSign, aBytes); in testBitLengthPositive2() 89 int aSign = 1; in testBitLengthPositive3() local 90 BigInteger aNumber = new BigInteger(aSign, aBytes); in testBitLengthPositive3() 99 int aSign = -1; in testBitLengthNegative1() local 100 BigInteger aNumber = new BigInteger(aSign, aBytes); in testBitLengthNegative1() 109 int aSign = -1; in testBitLengthNegative2() local 110 BigInteger aNumber = new BigInteger(aSign, aBytes); in testBitLengthNegative2() [all …]
|
D | BigIntegerCompareTest.java | 36 int aSign = 1; in testAbsPositive() local 38 BigInteger aNumber = new BigInteger(aSign, aBytes); in testAbsPositive() 53 int aSign = -1; in testAbsNegative() local 55 BigInteger aNumber = new BigInteger(aSign, aBytes); in testAbsNegative() 73 int aSign = 1; in testCompareToPosPos1() local 75 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCompareToPosPos1() 88 int aSign = 1; in testCompareToPosPos2() local 90 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCompareToPosPos2() 102 int aSign = 1; in testCompareToEqualPos() local 104 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCompareToEqualPos() [all …]
|
D | BigIntegerConvertTest.java | 93 int aSign = 1; in testDoubleValuePosRounded1() local 95 double aNumber = new BigInteger(aSign, a).doubleValue(); in testDoubleValuePosRounded1() 107 int aSign = 1; in testDoubleValuePosRounded2() local 109 double aNumber = new BigInteger(aSign, a).doubleValue(); in testDoubleValuePosRounded2() 118 int aSign = 1; in testDoubleValuePosNotRounded() local 120 double aNumber = new BigInteger(aSign, a).doubleValue(); in testDoubleValuePosNotRounded() 130 int aSign = -1; in testDoubleValueNegRounded1() local 132 double aNumber = new BigInteger(aSign, a).doubleValue(); in testDoubleValueNegRounded1() 144 int aSign = -1; in testDoubleValueNegRounded2() local 146 double aNumber = new BigInteger(aSign, a).doubleValue(); in testDoubleValueNegRounded2() [all …]
|
D | BigIntegerDivideTest.java | 37 int aSign = 1; in testCase1() local 39 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase1() 53 int aSign = 1; in testCase2() local 54 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase2() 69 int aSign = 1; in testCase3() local 72 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase3() 89 int aSign = -1; in testCase4() local 92 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase4() 110 int aSign = -1; in testCase5() local 113 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase5() [all …]
|
D | BigIntegerAndTest.java | 37 int aSign = 0; in testZeroPos() local 40 BigInteger aNumber = new BigInteger(aSign, aBytes); in testZeroPos() 57 int aSign = 0; in testZeroNeg() local 60 BigInteger aNumber = new BigInteger(aSign, aBytes); in testZeroNeg() 77 int aSign = 1; in testPosZero() local 80 BigInteger aNumber = new BigInteger(aSign, aBytes); in testPosZero() 97 int aSign = -1; in testNegPos() local 100 BigInteger aNumber = new BigInteger(aSign, aBytes); in testNegPos() 117 int aSign = 0; in testZeroZero() local 120 BigInteger aNumber = new BigInteger(aSign, aBytes); in testZeroZero() [all …]
|
D | BigIntegerOrTest.java | 37 int aSign = 0; in testZeroPos() local 40 BigInteger aNumber = new BigInteger(aSign, aBytes); in testZeroPos() 57 int aSign = 0; in testZeroNeg() local 60 BigInteger aNumber = new BigInteger(aSign, aBytes); in testZeroNeg() 77 int aSign = 1; in testPosZero() local 80 BigInteger aNumber = new BigInteger(aSign, aBytes); in testPosZero() 97 int aSign = -1; in testNegPos() local 100 BigInteger aNumber = new BigInteger(aSign, aBytes); in testNegPos() 117 int aSign = 0; in testZeroZero() local 120 BigInteger aNumber = new BigInteger(aSign, aBytes); in testZeroZero() [all …]
|
D | BigIntegerSubtractTest.java | 38 int aSign = 1; in testCase1() local 41 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase1() 59 int aSign = 1; in testCase2() local 62 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase2() 81 int aSign = 1; in testCase3() local 84 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase3() 103 int aSign = 1; in testCase4() local 106 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase4() 124 int aSign = -1; in testCase5() local 127 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase5() [all …]
|
D | BigIntegerAddTest.java | 37 int aSign = 1; in testCase1() local 40 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase1() 57 int aSign = -1; in testCase2() local 60 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase2() 80 int aSign = 1; in testCase3() local 82 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase3() 102 int aSign = -1; in testCase4() local 104 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase4() 124 int aSign = 1; in testCase5() local 126 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase5() [all …]
|
D | BigIntegerConstructorsTest.java | 195 int aSign = 3; in testConstructorSignBytesException1() local 197 new BigInteger(aSign, aBytes); in testConstructorSignBytesException1() 209 int aSign = 0; in testConstructorSignBytesException2() local 211 new BigInteger(aSign, aBytes); in testConstructorSignBytesException2() 225 int aSign = 1; in testConstructorSignBytesPositive1() local 227 BigInteger aNumber = new BigInteger(aSign, aBytes); in testConstructorSignBytesPositive1() 243 int aSign = 1; in testConstructorSignBytesPositive2() local 245 BigInteger aNumber = new BigInteger(aSign, aBytes); in testConstructorSignBytesPositive2() 260 int aSign = 1; in testConstructorSignBytesPositive3() local 262 BigInteger aNumber = new BigInteger(aSign, aBytes); in testConstructorSignBytesPositive3() [all …]
|
D | BigIntegerModPowTest.java | 38 int aSign = 1; in testModPowException() local 41 BigInteger aNumber = new BigInteger(aSign, aBytes); in testModPowException() 65 int aSign = 1; in testModPowPosExp() local 69 BigInteger aNumber = new BigInteger(aSign, aBytes); in testModPowPosExp() 88 int aSign = 1; in testModPowNegExp() local 92 BigInteger aNumber = new BigInteger(aSign, aBytes); in testModPowNegExp() 133 int aSign = 1; in testmodInverseException() local 135 BigInteger aNumber = new BigInteger(aSign, aBytes); in testmodInverseException() 150 int aSign = 1; in testmodInverseNonInvertible() local 152 BigInteger aNumber = new BigInteger(aSign, aBytes); in testmodInverseNonInvertible() [all …]
|
D | BigIntegerNotTest.java | 37 int aSign = 1; in testAndNotPosPosFirstLonger() local 40 BigInteger aNumber = new BigInteger(aSign, aBytes); in testAndNotPosPosFirstLonger() 57 int aSign = 1; in testAndNotPosPosFirstShorter() local 60 BigInteger aNumber = new BigInteger(aSign, aBytes); in testAndNotPosPosFirstShorter() 77 int aSign = -1; in testAndNotNegNegFirstLonger() local 80 BigInteger aNumber = new BigInteger(aSign, aBytes); in testAndNotNegNegFirstLonger() 97 int aSign = -1; in testNegPosFirstLonger() local 100 BigInteger aNumber = new BigInteger(aSign, aBytes); in testNegPosFirstLonger() 146 int aSign = 1; in testNotPos() local 148 BigInteger aNumber = new BigInteger(aSign, aBytes); in testNotPos() [all …]
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | OldBigIntegerDivideTest.java | 35 int aSign = 1; in testCase21byZero() local 37 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase21byZero()
|