You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Fawaz Alhenaki (Jira)" <ji...@apache.org> on 2020/02/11 19:46:00 UTC

[jira] [Created] (MATH-1514) IRR NaN When it should give back a value

Fawaz Alhenaki created MATH-1514:
------------------------------------

             Summary: IRR NaN When it should give back a value
                 Key: MATH-1514
                 URL: https://issues.apache.org/jira/browse/MATH-1514
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 3.6
            Reporter: Fawaz Alhenaki
         Attachments: TestIrr.java

I have created a sample of when the issue occurs. IRR in apache documentation says that covers "20 tries" as shown here [https://poi.apache.org/apidocs/dev/org/apache/poi/ss/formula/functions/Irr.html] 

which is identical to Microsoft Excel [https://support.office.com/en-us/article/irr-function-64925eaa-9988-495b-b290-3ad0c163c1bc]

This indicate that the result is the same between the two; however, in the case of apache poi, it seems that the result is returned as NaN (while excel returns the actual result).



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