Home
last modified time | relevance | path

Searched defs:aNumber (Results 1 – 25 of 26) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerConvertTest.java38 double aNumber = new BigInteger(a).doubleValue(); in testDoubleValueZero() local
49 double aNumber = new BigInteger(a).doubleValue(); in testDoubleValuePositive1() local
60 double aNumber = new BigInteger(a).doubleValue(); in testDoubleValuePositive2() local
71 double aNumber = new BigInteger(a).doubleValue(); in testDoubleValueNegative1() local
82 double aNumber = new BigInteger(a).doubleValue(); in testDoubleValueNegative2() local
95 double aNumber = new BigInteger(aSign, a).doubleValue(); in testDoubleValuePosRounded1() local
109 double aNumber = new BigInteger(aSign, a).doubleValue(); in testDoubleValuePosRounded2() local
120 double aNumber = new BigInteger(aSign, a).doubleValue(); in testDoubleValuePosNotRounded() local
132 double aNumber = new BigInteger(aSign, a).doubleValue(); in testDoubleValueNegRounded1() local
146 double aNumber = new BigInteger(aSign, a).doubleValue(); in testDoubleValueNegRounded2() local
[all …]
DBigIntegerConstructorsTest.java53 BigInteger aNumber = new BigInteger(aBytes); in testConstructorBytesPositive1() local
69 BigInteger aNumber = new BigInteger(aBytes); in testConstructorBytesPositive2() local
85 BigInteger aNumber = new BigInteger(aBytes); in testConstructorBytesPositive3() local
101 BigInteger aNumber = new BigInteger(aBytes); in testConstructorBytesPositive() local
117 BigInteger aNumber = new BigInteger(aBytes); in testConstructorBytesNegative1() local
133 BigInteger aNumber = new BigInteger(aBytes); in testConstructorBytesNegative2() local
149 BigInteger aNumber = new BigInteger(aBytes); in testConstructorBytesNegative3() local
165 BigInteger aNumber = new BigInteger(aBytes); in testConstructorBytesNegative4() local
180 BigInteger aNumber = new BigInteger(aBytes); in testConstructorBytesZero() local
227 BigInteger aNumber = new BigInteger(aSign, aBytes); in testConstructorSignBytesPositive1() local
[all …]
DBigIntegerOperateBitsTest.java36 BigInteger aNumber = new BigInteger("0"); in testBitCountZero() local
44 … BigInteger aNumber = new BigInteger("-12378634756382937873487638746283767238657872368748726875"); in testBitCountNeg() local
52 …BigInteger aNumber = new BigInteger("1237863475634356475758293787348763874628376723865787236874872… in testBitCountPos() local
60 BigInteger aNumber = new BigInteger("0"); in testBitLengthZero() local
70 BigInteger aNumber = new BigInteger(aSign, aBytes); in testBitLengthPositive1() local
80 BigInteger aNumber = new BigInteger(aSign, aBytes); in testBitLengthPositive2() local
90 BigInteger aNumber = new BigInteger(aSign, aBytes); in testBitLengthPositive3() local
100 BigInteger aNumber = new BigInteger(aSign, aBytes); in testBitLengthNegative1() local
110 BigInteger aNumber = new BigInteger(aSign, aBytes); in testBitLengthNegative2() local
120 BigInteger aNumber = new BigInteger(aSign, aBytes); in testBitLengthNegative3() local
[all …]
DBigIntegerCompareTest.java38 BigInteger aNumber = new BigInteger(aSign, aBytes); in testAbsPositive() local
55 BigInteger aNumber = new BigInteger(aSign, aBytes); in testAbsNegative() local
75 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCompareToPosPos1() local
90 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCompareToPosPos2() local
104 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCompareToEqualPos() local
119 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCompareToNegNeg1() local
134 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCompareNegNeg2() local
148 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCompareToEqualNeg() local
163 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCompareToDiffSigns1() local
178 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCompareToDiffSigns2() local
[all …]
DBigDecimalConvertTest.java38 BigDecimal aNumber = new BigDecimal(a); in testDoubleValueNeg() local
48 BigDecimal aNumber = new BigDecimal(a); in testDoubleValuePos() local
58 BigDecimal aNumber = new BigDecimal(a); in testDoubleValuePosInfinity() local
68 BigDecimal aNumber = new BigDecimal(a); in testDoubleValueNegInfinity() local
78 BigDecimal aNumber = new BigDecimal(a); in testDoubleValueMinusZero() local
89 BigDecimal aNumber = new BigDecimal(a); in testDoubleValuePlusZero() local
100 BigDecimal aNumber = new BigDecimal(a); in testFloatValueNeg() local
110 BigDecimal aNumber = new BigDecimal(a); in testFloatValuePos() local
120 BigDecimal aNumber = new BigDecimal(a); in testFloatValuePosInfinity() local
130 BigDecimal aNumber = new BigDecimal(a); in testFloatValueNegInfinity() local
[all …]
DBigIntegerMultiplyTest.java40 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase1() local
61 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase2() local
83 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase3() local
105 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase4() local
128 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase5() local
151 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase6() local
171 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase7() local
189 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase8() local
207 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase9() local
225 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase10() local
[all …]
DBigIntegerDivideTest.java39 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase1() local
54 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase2() local
72 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase3() local
92 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase4() local
113 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase5() local
134 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase6() local
154 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase7() local
174 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase8() local
194 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase9() local
214 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase10() local
[all …]
DBigIntegerAddTest.java40 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase1() local
60 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase2() local
82 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase3() local
104 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase4() local
126 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase5() local
148 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase6() local
169 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase7() local
188 BigInteger aNumber = new BigInteger(aBytes); in testCase8() local
209 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase9() local
230 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase10() local
[all …]
DBigIntegerSubtractTest.java41 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase1() local
62 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase2() local
84 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase3() local
106 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase4() local
127 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase5() local
148 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase6() local
170 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase7() local
192 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase8() local
213 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase9() local
234 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase10() local
[all …]
DBigIntegerAndTest.java40 BigInteger aNumber = new BigInteger(aSign, aBytes); in testZeroPos() local
60 BigInteger aNumber = new BigInteger(aSign, aBytes); in testZeroNeg() local
80 BigInteger aNumber = new BigInteger(aSign, aBytes); in testPosZero() local
100 BigInteger aNumber = new BigInteger(aSign, aBytes); in testNegPos() local
120 BigInteger aNumber = new BigInteger(aSign, aBytes); in testZeroZero() local
135 BigInteger aNumber = BigInteger.ZERO; in testZeroOne() local
146 BigInteger aNumber = BigInteger.ONE; in testOneOne() local
162 BigInteger aNumber = new BigInteger(aSign, aBytes); in testPosPosSameLength() local
182 BigInteger aNumber = new BigInteger(aSign, aBytes); in testPosPosFirstLonger() local
202 BigInteger aNumber = new BigInteger(aSign, aBytes); in testPosPosFirstShorter() local
[all …]
DBigIntegerToStringTest.java38 BigInteger aNumber = new BigInteger(value, radix); in testRadixOutOfRange() local
49 BigInteger aNumber = new BigInteger(value, radix); in testRadix2Neg() local
60 BigInteger aNumber = new BigInteger(value, radix); in testRadix2Pos() local
71 BigInteger aNumber = new BigInteger(value, radix); in testRadix10Neg() local
82 BigInteger aNumber = new BigInteger(value, radix); in testRadix10Pos() local
93 BigInteger aNumber = new BigInteger(value, radix); in testRadix16Neg() local
104 BigInteger aNumber = new BigInteger(value, radix); in testRadix16Pos() local
115 BigInteger aNumber = new BigInteger(value, radix); in testRadix24Neg() local
126 BigInteger aNumber = new BigInteger(value, radix); in testRadix24Pos() local
137 BigInteger aNumber = new BigInteger(value, radix); in testRadix36Neg() local
[all …]
DBigDecimalScaleOperationsTest.java37 BigDecimal aNumber = new BigDecimal(new BigInteger(a)); in testScaleDefault() local
48 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testScaleNeg() local
59 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testScalePos() local
70 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testScaleZero() local
81 BigDecimal aNumber = new BigDecimal(bNumber, aScale); in testUnscaledValue() local
92 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testSetScaleGreater() local
104 BigDecimal aNumber = new BigDecimal(a); in testSetScaleLess() local
117 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testSetScaleException() local
133 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testSetScaleSame() local
147 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testSetScaleRoundUp() local
[all …]
DBigIntegerNotTest.java40 BigInteger aNumber = new BigInteger(aSign, aBytes); in testAndNotPosPosFirstLonger() local
60 BigInteger aNumber = new BigInteger(aSign, aBytes); in testAndNotPosPosFirstShorter() local
80 BigInteger aNumber = new BigInteger(aSign, aBytes); in testAndNotNegNegFirstLonger() local
100 BigInteger aNumber = new BigInteger(aSign, aBytes); in testNegPosFirstLonger() local
116 BigInteger aNumber = BigInteger.ZERO; in testNotZero() local
131 BigInteger aNumber = BigInteger.ONE; in testNotOne() local
148 BigInteger aNumber = new BigInteger(aSign, aBytes); in testNotPos() local
165 BigInteger aNumber = new BigInteger(aSign, aBytes); in testNotNeg() local
183 BigInteger aNumber = new BigInteger(aSign, aBytes); in testNotSpecialCase() local
DBigIntegerModPowTest.java41 BigInteger aNumber = new BigInteger(aSign, aBytes); in testModPowException() local
69 BigInteger aNumber = new BigInteger(aSign, aBytes); in testModPowPosExp() local
92 BigInteger aNumber = new BigInteger(aSign, aBytes); in testModPowNegExp() local
135 BigInteger aNumber = new BigInteger(aSign, aBytes); in testmodInverseException() local
152 BigInteger aNumber = new BigInteger(aSign, aBytes); in testmodInverseNonInvertible() local
170 BigInteger aNumber = new BigInteger(aSign, aBytes); in testmodInversePos1() local
190 BigInteger aNumber = new BigInteger(aSign, aBytes); in testmodInversePos2() local
210 BigInteger aNumber = new BigInteger(aSign, aBytes); in testmodInverseNeg1() local
228 BigInteger aNumber = new BigInteger(aBytes); in testmodInverseNeg2() local
248 BigInteger aNumber = new BigInteger(aSign, aBytes); in testGcdSecondZero() local
[all …]
DBigIntegerOrTest.java40 BigInteger aNumber = new BigInteger(aSign, aBytes); in testZeroPos() local
60 BigInteger aNumber = new BigInteger(aSign, aBytes); in testZeroNeg() local
80 BigInteger aNumber = new BigInteger(aSign, aBytes); in testPosZero() local
100 BigInteger aNumber = new BigInteger(aSign, aBytes); in testNegPos() local
120 BigInteger aNumber = new BigInteger(aSign, aBytes); in testZeroZero() local
140 BigInteger aNumber = new BigInteger(aSign, aBytes); in testZeroOne() local
160 BigInteger aNumber = new BigInteger(aSign, aBytes); in testOneOne() local
180 BigInteger aNumber = new BigInteger(aSign, aBytes); in testPosPosSameLength() local
200 BigInteger aNumber = new BigInteger(aSign, aBytes); in testPosPosFirstLonger() local
220 BigInteger aNumber = new BigInteger(aSign, aBytes); in testPosPosFirstShorter() local
[all …]
DBigIntegerXorTest.java38 BigInteger aNumber = new BigInteger(numA); in testZeroPos() local
51 BigInteger aNumber = new BigInteger(numA); in testZeroNeg() local
64 BigInteger aNumber = new BigInteger(numA); in testPosZero() local
77 BigInteger aNumber = new BigInteger(numA); in testNegPos() local
90 BigInteger aNumber = new BigInteger(numA); in testZeroZero() local
103 BigInteger aNumber = new BigInteger(numA); in testZeroOne() local
116 BigInteger aNumber = new BigInteger(numA); in testOneOne() local
129 BigInteger aNumber = new BigInteger(numA); in testPosPosSameLength() local
142 BigInteger aNumber = new BigInteger(numA); in testPosPosFirstLonger() local
155 BigInteger aNumber = new BigInteger(numA); in testPosPosFirstShorter() local
[all …]
DBigDecimalCompareTest.java41 BigDecimal aNumber = new BigDecimal(a); in testAbsNeg() local
51 BigDecimal aNumber = new BigDecimal(a); in testAbsPos() local
61 BigDecimal aNumber = new BigDecimal(a); in testAbsMathContextNeg() local
77 BigDecimal aNumber = new BigDecimal(a); in testAbsMathContextPos() local
96 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testCompareEqualScale1() local
110 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testCompareEqualScale2() local
124 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testCompareGreaterScale1() local
138 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testCompareGreaterScale2() local
152 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testCompareLessScale1() local
166 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testCompareLessScale2() local
[all …]
DBigDecimalArithmeticTest.java42 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testAddEqualScalePosPos() local
59 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testAddMathContextEqualScalePosPos() local
77 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testAddEqualScaleNegNeg() local
94 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testAddMathContextEqualScaleNegNeg() local
112 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testAddDiffScalePosNeg() local
129 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testAddMathContextDiffScalePosNeg() local
147 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testAddDiffScaleNegPos() local
164 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testAddDiffScaleZeroZero() local
181 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testSubtractEqualScalePosPos() local
198 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testSubtractMathContextEqualScalePosPos() local
[all …]
DBigDecimalConstructorsTest.java71 BigDecimal aNumber = new BigDecimal(bA); in testConstrBI() local
90 BigDecimal aNumber = new BigDecimal(bA, aScale); in testConstrBIScale() local
281 BigDecimal aNumber = new BigDecimal(a); in testConstrDouble() local
308 BigDecimal aNumber = new BigDecimal(a); in testConstrDouble01() local
320 BigDecimal aNumber = new BigDecimal(a); in testConstrDouble02() local
332 BigDecimal aNumber = new BigDecimal(a); in testConstrDoubleMinus01() local
398 BigDecimal aNumber = new BigDecimal(a); in testConstrDoubleDenormalized() local
473 BigDecimal aNumber = new BigDecimal(a); in testConstrStringExponentIntegerMax() local
498 BigDecimal aNumber = new BigDecimal(a); in testConstrStringWithoutExpPos1() local
510 BigDecimal aNumber = new BigDecimal(a); in testConstrStringWithoutExpPos2() local
[all …]
DMathContextTest.java31 BigDecimal aNumber = new BigDecimal(a); in test_MathContextConstruction() local
/libcore/luni/src/test/java/libcore/java/math/
DOldBigDecimalConvertTest.java33 BigDecimal aNumber = new BigDecimal(a); in test_IntValueExactNeg() local
44 BigDecimal aNumber = new BigDecimal(a); in test_IntValueExactPos() local
54 BigDecimal aNumber = new BigDecimal("-2147483647.999"); in test_IntValueExactFloatNeg() local
65 BigDecimal aNumber = new BigDecimal(a); in test_IntValueExactFloatPos() local
76 BigDecimal aNumber = new BigDecimal(a); in test_IntValueExactLongPos() local
83 BigDecimal aNumber = new BigDecimal(a); in test_IntValueExactLongNeg() local
90 BigDecimal aNumber = new BigDecimal(a); in test_LongValueExactNeg() local
101 BigDecimal aNumber = new BigDecimal(a); in test_LongValueExactPos() local
111 BigDecimal aNumber = new BigDecimal("-9223372036854775807.99999"); in test_LongValueExactFloatNeg() local
126 BigDecimal aNumber = new BigDecimal(a); in test_LongValueExactFloatPos() local
[all …]
DOldBigIntegerOperateBitsTest.java40 BigInteger aNumber = new BigInteger(aSign, aBytes); in test_getLowestSetBitNeg() local
55 BigInteger aNumber = new BigInteger(aSign, aBytes); in test_getLowestSetBitPos() local
86 BigInteger aNumber = new BigInteger(aSign, aBytes); in test_getLowestSetBitZero() local
DOldBigDecimalCompareTest.java34 BigDecimal aNumber = new BigDecimal(a); in testAbsMathContextNeg() local
58 BigDecimal aNumber = new BigDecimal(new BigInteger(a), 41); in testNegateMathContextPositive() local
DOldBigDecimalArithmeticTest.java117 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testPowMathContext() local
330 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testDivideToIntegralValueByZero() local
384 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testDivideAndRemainderByZero() local
433 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in testRemainderByZero() local
545 BigDecimal aNumber = new BigDecimal(new BigInteger(a)); in test_DivideBigDecimalRoundingModeUP() local
560 BigDecimal aNumber = new BigDecimal(new BigInteger(a)); in test_DivideBigDecimalRoundingModeDOWN() local
575 BigDecimal aNumber = new BigDecimal(new BigInteger(a)); in test_DivideBigDecimalRoundingModeCEILING() local
590 BigDecimal aNumber = new BigDecimal(new BigInteger(a)); in test_DivideBigDecimalRoundingModeFLOOR() local
605 BigDecimal aNumber = new BigDecimal(new BigInteger(a)); in test_DivideBigDecimalRoundingModeHALF_UP() local
623 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); in test_DivideBigDecimalRoundingModeHALF_DOWN() local
[all …]
DOldBigIntegerDivideTest.java37 BigInteger aNumber = new BigInteger(aSign, aBytes); in testCase21byZero() local

12