Searched refs:bUnsigned (Results 1 – 4 of 4) sorted by relevance
147 UnsignedInteger bUnsigned = UnsignedInteger.fromIntBits(b); in testPlus() local148 int expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).intValue(); in testPlus()149 UnsignedInteger unsignedSum = aUnsigned.plus(bUnsigned); in testPlus()159 UnsignedInteger bUnsigned = UnsignedInteger.fromIntBits(b); in testMinus() local161 force32(aUnsigned.bigIntegerValue().subtract(bUnsigned.bigIntegerValue()).intValue()); in testMinus()162 UnsignedInteger unsignedSub = aUnsigned.minus(bUnsigned); in testMinus()173 UnsignedInteger bUnsigned = UnsignedInteger.fromIntBits(b); in testTimes() local175 force32(aUnsigned.bigIntegerValue().multiply(bUnsigned.bigIntegerValue()).intValue()); in testTimes()176 UnsignedInteger unsignedMul = aUnsigned.times(bUnsigned); in testTimes()177 assertEquals(aUnsigned + " * " + bUnsigned, expected, unsignedMul.intValue()); in testTimes()[all …]
151 UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b); in testPlus() local152 long expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).longValue(); in testPlus()153 UnsignedLong unsignedSum = aUnsigned.plus(bUnsigned); in testPlus()163 UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b); in testMinus() local165 aUnsigned.bigIntegerValue().subtract(bUnsigned.bigIntegerValue()).longValue(); in testMinus()166 UnsignedLong unsignedSub = aUnsigned.minus(bUnsigned); in testMinus()176 UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b); in testTimes() local178 aUnsigned.bigIntegerValue().multiply(bUnsigned.bigIntegerValue()).longValue(); in testTimes()179 UnsignedLong unsignedMul = aUnsigned.times(bUnsigned); in testTimes()190 UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b); in testDividedBy() local[all …]