Lines Matching refs:subtract
170 if(! (result=zero1.subtract(zero2)).equals(expected) ) {
172 System.err.println("For classic exact subtract, expected scale of " +
177 if(! (result=zero1.subtract(zero2, MathContext.UNLIMITED)).equals(expected) ) {
179 System.err.println("For UNLIMITED math context subtract," +
185 if(! (result=zero1.subtract(zero2, longEnough)).equals(expected) ) {
187 System.err.println("For longEnough math context subtract," +
220 BigDecimal result = element.subtract(zero, mc);
229 result = zero.subtract(element, mc);
238 result = element.negate().subtract(zero, mc);
247 result = zero.subtract(element.negate(), mc);