Heinrich Bohne created MATH-1492:
------------------------------------

             Summary: Replace usages of commons-numbers-core methods with 
equivalent methods from java.lang.Math
                 Key: MATH-1492
                 URL: https://issues.apache.org/jira/browse/MATH-1492
             Project: Commons Math
          Issue Type: Task
            Reporter: Heinrich Bohne
             Fix For: 4.0


The usages of the following methods from 
{{org.apache.commons.numbers.core.ArithmeticUtils}}:

{{addAndCheck(int, int)}}
{{addAndCheck(long, long)}}
{{mulAndCheck(int, int)}}
{{mulAndCheck(long, long)}}
{{subAndCheck(int, int)}}
{{subAndCheck(long, long)}}

Can be replaced with the following equivalent methods from {{java.lang.Math}}:

{{addExact(int, int)}}
{{addExact(long, long)}}
{{multiplyExact(int, int)}}
{{multiplyExact(long, long)}}
{{subtractExact(int, int)}}
{{subtractExact(long, long)}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to