[ https://issues.apache.org/jira/browse/MATH-1561 ]


    Axel Howind deleted comment on MATH-1561:
    -----------------------------------

was (Author: axh):
I think we really need a commons-math3 release that has at least an automatic 
module-name set while we wait for a stable release 4. And I hope version 4 will 
not only add an automatic module name but a real module-info.class so that it 
is usable with jlink.

Currently commons-math3 is the most painful dependency in any project I have 
because of missing module support. I cannot just replace it because it is a 
dependency of other projects I use, Apache POI being the most prominent one.

If you need any help either with adding a module-info or any other issues 
standing in the way of releasing version 4, I'm willing to contribute.

> StackOverflowError is thrown in Gamma.digamma(x) and Gamma.trigamma(x)
> ----------------------------------------------------------------------
>
>                 Key: MATH-1561
>                 URL: https://issues.apache.org/jira/browse/MATH-1561
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.6.1
>         Environment: Java 8, macOS, Darwin Kernel Version 19.6.0
>            Reporter: Dmitriy V. Golovashkin
>            Priority: Major
>
> {color:#0033b3}java.lang.StackOverflowError is thrown in:{color}
> {code:java}
> double x = -10_000;
> double ans1 = Gamma.digamma(x);  // stack overflow
> double ans2 = Gamma.trigamma(x); // stack overflow
> {code}
> It would be nice if the methods returned NaN / Infinity, rather than abort 
> calculations.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to