Searched refs:aUnsigned (Results 1 – 3 of 3) sorted by relevance
149 UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a); in testPlus() local151 int expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).intValue(); in testPlus()152 UnsignedInteger unsignedSum = aUnsigned.plus(bUnsigned); in testPlus()161 UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a); in testMinus() local164 force32(aUnsigned.bigIntegerValue().subtract(bUnsigned.bigIntegerValue()).intValue()); in testMinus()165 UnsignedInteger unsignedSub = aUnsigned.minus(bUnsigned); in testMinus()175 UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a); in testTimes() local178 force32(aUnsigned.bigIntegerValue().multiply(bUnsigned.bigIntegerValue()).intValue()); in testTimes()179 UnsignedInteger unsignedMul = aUnsigned.times(bUnsigned); in testTimes()180 assertEquals(aUnsigned + " * " + bUnsigned, expected, unsignedMul.intValue()); in testTimes()[all …]
150 UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a); in testPlus() local152 long expected = aUnsigned in testPlus()156 UnsignedLong unsignedSum = aUnsigned.plus(bUnsigned); in testPlus()165 UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a); in testMinus() local167 long expected = aUnsigned in testMinus()171 UnsignedLong unsignedSub = aUnsigned.minus(bUnsigned); in testMinus()180 UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a); in testTimes() local182 long expected = aUnsigned in testTimes()186 UnsignedLong unsignedMul = aUnsigned.times(bUnsigned); in testTimes()196 UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a); in testDividedBy() local[all …]
136 UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a); in testPlus() local138 long expected = aUnsigned in testPlus()142 UnsignedLong unsignedSum = aUnsigned.plus(bUnsigned); in testPlus()151 UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a); in testMinus() local153 long expected = aUnsigned in testMinus()157 UnsignedLong unsignedSub = aUnsigned.minus(bUnsigned); in testMinus()166 UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a); in testTimes() local168 long expected = aUnsigned in testTimes()172 UnsignedLong unsignedMul = aUnsigned.times(bUnsigned); in testTimes()182 UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a); in testDividedBy() local[all …]