Re: [numbers] Redundant methods in ArithmeticUtils

2019-06-11 Thread Gilles Sadowski
Hello. Le mar. 11 juin 2019 à 19:26, Eric Barnhill a écrit : > > On Tue, Jun 11, 2019 at 9:52 AM Heinrich Bohne > wrote: > > > The class ArithmeticUtils in the commons-numbers-core module contains > > several methods where, since Java 8, equivalent methods in > > java.lang.Math exist. These meth

Re: [numbers] Redundant methods in ArithmeticUtils

2019-06-11 Thread Eric Barnhill
On Tue, Jun 11, 2019 at 9:52 AM Heinrich Bohne wrote: > The class ArithmeticUtils in the commons-numbers-core module contains > several methods where, since Java 8, equivalent methods in > java.lang.Math exist. These methods are the following: > > addAndCheck(int, int) > addAndCheck(long, long) >

[numbers] Redundant methods in ArithmeticUtils

2019-06-11 Thread Heinrich Bohne
The class ArithmeticUtils in the commons-numbers-core module contains several methods where, since Java 8, equivalent methods in java.lang.Math exist. These methods are the following: addAndCheck(int, int) addAndCheck(long, long) mulAndCheck(int, int) mulAndCheck(long, long) subAndCheck(int, int)