You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Heinrich Bohne (JIRA)" <ji...@apache.org> on 2019/06/20 13:12:00 UTC

[jira] [Reopened] (MATH-1492) Replace usages of commons-numbers-core methods with equivalent methods from java.lang.Math

     [ https://issues.apache.org/jira/browse/MATH-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Heinrich Bohne reopened MATH-1492:
----------------------------------

> 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
>            Priority: Minor
>             Fix For: 4.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)