Description
Some AccurateMath methods throw MathArithmeticException which is not a subclass of ArithmeticException.
In those methods, I propose to throw ArithmeticException instead, which goes along AccurateMath being a "drop-in" replacement of the JDK's Math class.
Once the dependency on commons-math-legacy-exception is dropped, the class can be moved to module commons-math-core.