/* ------------------------------------------------------------------ */
/* BigDecimal -- Decimal arithmetic for Java */
/* ------------------------------------------------------------------ */
-/* Copyright IBM Corporation, 1996-2010. All Rights Reserved. */
+/* Copyright IBM Corporation, 1996-2011. All Rights Reserved. */
/* */
/* The BigDecimal class provides immutable arbitrary-precision */
/* floating point (including integer) decimal numbers. */
if ((!(allzero(oldmant, len + 1))))
increment = sign;
else /* 0.5000 */
- if ((((mant[mant.length - 1]) % 2)) == 1)
+ if ((((mant[mant.length - 1]) % 2)) != 0)
increment = sign;
}
} else if (mode == ROUND_DOWN) {