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

[jira] [Commented] (NUMBERS-151) Performance refinement for ArithmeticUtils.pow

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

Alex Herbert commented on NUMBERS-151:
--------------------------------------

In this case we will support {{0^0 == 1}} as per the wikipedia article on the subject: 

[Zero to the power of zero|https://en.wikipedia.org/wiki/Zero_to_the_power_of_zero]

> Performance refinement for ArithmeticUtils.pow
> ----------------------------------------------
>
>                 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: 1h 20m
>  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)