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 Sun, 01 Sep 2013 23:04:52 GMT

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

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

For my buck, I'd deprecate anything that is Math-like in [lang] and point to [math]. That's
just me ;)
                
> 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