Recent changes to the arithmetical operations mean that many
arithmetic operation results are now coerced to Integer, even if both
input variables are Long.
This is unexpected behaviour  e.g. Commons Jelly expects that Long*2 => Long
Seems to me that the result of an arithmetic op should generally be
the same as the "bigger" type, i.e the combinations should be treated
as follows:
Integer op Integer => Integer
Long op IntegerLong => Long
BigInteger op IntegerLongBiginteger => BigInteger
BigDecimal op IntegerLongBigintegerBigDecimal => BigDecimal
As before, I suggest we keep:
FloatDouble,anything => Double
Numeric Literals were (and are) treated as Integer, which works well
with the above scheme.
WDYT?

To unsubscribe, email: devunsubscribe@commons.apache.org
For additional commands, email: devhelp@commons.apache.org
