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

Gilles updated MATH-1047:
-------------------------

    Attachment: MATH-1047.patch

I've attached a patch.
Please review. If it's OK, I'll modify the other methods in a similar way.


> No check for overflow in "ArithmeticUtils.pow"
> ----------------------------------------------
>
>                 Key: MATH-1047
>                 URL: https://issues.apache.org/jira/browse/MATH-1047
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 3.2
>            Reporter: Gilles
>              Labels: safety
>             Fix For: 3.3
>
>         Attachments: MATH-1047.patch
>
>
> The "pow" methods in "o.a.c.m.util.ArithmeticUtils" do not check for overflow.
> They will happily return nonsensical results.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to