Commit Graph

6 Commits

Author SHA1 Message Date
Gilles Sadowski d35194c995 Update copyright notice (2022). 2022-01-06 01:18:24 +01:00
Gilles Sadowski 142dcaa921 Javadoc. 2021-10-17 15:27:45 +02:00
Gilles Sadowski e052d9dc53 Remove methods that were calling the "Math" implementation. 2021-10-17 02:03:42 +02:00
Gilles Sadowski 22753536f4 Class "JdkMath" bridges user code and alternative implementations.
It's a "drop-in" replacement for JDK's "Math" as of Java 8 (cf. MATH-1630).

"AccurateMath" contains pure Java, acccurate, implementations of "Math" functions.
But it is no longer required to implement all of them.
2021-10-17 01:46:06 +02:00
Gilles Sadowski b35167641a Add files in new maven module. 2021-10-16 11:14:47 +02:00
Gilles Sadowski 21e230ae83 MATH-1630: Runtime switch between JDK and CM implementations of the methods defined in "java.lang.Math".
Default is to use the CM implementations in order to retain previous behaviour.
When using the JDK implementations, some unit tests fail (on Java 8).

Class "AccurateMath" was moved to "o.a.c.math4.core" package.
[Unit tests for that class were not moved because they depend on "legacy" classes.]
2021-10-16 11:14:09 +02:00