commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-912) MathUtils.sum() method to add together a bunch of numbers.
Date Sat, 31 Aug 2013 22:42:51 GMT

    [ https://issues.apache.org/jira/browse/LANG-912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13755621#comment-13755621
] 

Gary Gregory commented on LANG-912:
-----------------------------------

Commons Math?
                
> MathUtils.sum() method to add together a bunch of numbers.
> ----------------------------------------------------------
>
>                 Key: LANG-912
>                 URL: https://issues.apache.org/jira/browse/LANG-912
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.math.*
>    Affects Versions: 3.1
>         Environment: Any
>            Reporter: Matt Bishop
>            Priority: Minor
>             Fix For: 3.2
>
>
> I find myself doing sums frequently with a variety of numbers. It would be nice if MathUtils
had a method like this:
>     int add(int... numbers);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message