Gilles Sadowski created MATH-1630:
-------------------------------------

             Summary: AccurateMath vs JDK's Math
                 Key: MATH-1630
                 URL: https://issues.apache.org/jira/browse/MATH-1630
             Project: Commons Math
          Issue Type: Improvement
            Reporter: Gilles Sadowski
            Assignee: Gilles Sadowski
             Fix For: 4.0


Allow runtime switch between the JDK and CM implementations of the methods 
defined in the [{{Math}} 
class|https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html].

I [propose|https://markmail.org/message/uw64jproplfa4xqr] to create a 
{{JdkMath}} class that will store references to either JDK's methods in 
{{Math}} or CM's methods in {{AccurateMath}}, based on a system property.

Thus, all CM codes will be updated to call the methods declared in {{JdkMath}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to