You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jin Xu (Jira)" <ji...@apache.org> on 2020/08/25 17:38:00 UTC

[jira] [Commented] (NUMBERS-151) performance refine for ArithmeticUtils.pow(maybe also bugfix?)

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

Jin Xu commented on NUMBERS-151:
--------------------------------

Hi.
I think this performance refine too obvious, that need not a jmh benchmark.
However if you think it need one, then I'm glad to bake one, just reply and ask me :)

> performance refine for ArithmeticUtils.pow(maybe also bugfix?)
> --------------------------------------------------------------
>
>                 Key: NUMBERS-151
>                 URL: https://issues.apache.org/jira/browse/NUMBERS-151
>             Project: Commons Numbers
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jin Xu
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Hi.
> right now ArithmeticUtils.pow(0,0) = 1, but not throw an Exception, which I think not quite right...
> Is it a bug?
> Anyway, we found a way to faster the calculate, so at least we can get an performance refine pr.



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