You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dmitriy V. Golovashkin (Jira)" <ji...@apache.org> on 2020/10/29 15:57:00 UTC
[jira] [Updated] (NUMBERS-153) digamma and trigamma throw stack
overflow exceptions
[ https://issues.apache.org/jira/browse/NUMBERS-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitriy V. Golovashkin updated NUMBERS-153:
-------------------------------------------
Summary: digamma and trigamma throw stack overflow exceptions (was: digamma and trigamma throw stock overflow exceptions)
> digamma and trigamma throw stack overflow exceptions
> ----------------------------------------------------
>
> Key: NUMBERS-153
> URL: https://issues.apache.org/jira/browse/NUMBERS-153
> Project: Commons Numbers
> Issue Type: Bug
> Components: gamma
> Affects Versions: 1.0-beta1
> Reporter: Dmitriy V. Golovashkin
> Priority: Major
> Fix For: 1.0
>
>
> {color:#0033b3}java.lang.StackOverflowError{color}
> {color:#0033b3}double {color}{color:#000000}x {color}= -{color:#1750eb}10_000{color};
> {color:#000000}Gamma{color}.digamma({color:#000000}x{color});
> {color:#000000}Gamma{color}.trigamma({color:#000000}x{color});
> It would be nice if the methods returned NaN / Infinity, rather than abort calculations (due to recursion gone wild). Please, see the initial report in Commons Math3:
> https://issues.apache.org/jira/browse/MATH-1561
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)