You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Lukas Theussl (JIRA)" <ji...@apache.org> on 2007/06/04 11:36:35 UTC
[jira] Created: (MATH-166) Special functions not very accurate
Special functions not very accurate
-----------------------------------
Key: MATH-166
URL: https://issues.apache.org/jira/browse/MATH-166
Project: Commons Math
Issue Type: Bug
Affects Versions: 1.1
Reporter: Lukas Theussl
Priority: Minor
Attachments: MATH-166.patch
The Gamma and Beta functions return values in double precision but the default epsilon is set to 10e-9. I think that the default should be set to the highest possible accuracy, as this is what I'd expect to be returned by a double precision routine. Note that the erf function already uses a call to Gamma.regularizedGammaP with an epsilon of 1.0e-15.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Updated: (MATH-166) Special functions not very accurate
Posted by "Phil Steitz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phil Steitz updated MATH-166:
-----------------------------
Fix Version/s: 1.2
I see no reason not to apply this patch for 1.2.
> Special functions not very accurate
> -----------------------------------
>
> Key: MATH-166
> URL: https://issues.apache.org/jira/browse/MATH-166
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: Lukas Theussl
> Priority: Minor
> Fix For: 1.2
>
> Attachments: MATH-166.patch
>
>
> The Gamma and Beta functions return values in double precision but the default epsilon is set to 10e-9. I think that the default should be set to the highest possible accuracy, as this is what I'd expect to be returned by a double precision routine. Note that the erf function already uses a call to Gamma.regularizedGammaP with an epsilon of 1.0e-15.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Updated: (MATH-166) Special functions not very accurate
Posted by "Lukas Theussl (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Theussl updated MATH-166:
-------------------------------
Attachment: MATH-166.patch
Patch to increase the default accuracy and corresponding tests.
> Special functions not very accurate
> -----------------------------------
>
> Key: MATH-166
> URL: https://issues.apache.org/jira/browse/MATH-166
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: Lukas Theussl
> Priority: Minor
> Attachments: MATH-166.patch
>
>
> The Gamma and Beta functions return values in double precision but the default epsilon is set to 10e-9. I think that the default should be set to the highest possible accuracy, as this is what I'd expect to be returned by a double precision routine. Note that the erf function already uses a call to Gamma.regularizedGammaP with an epsilon of 1.0e-15.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Resolved: (MATH-166) Special functions not very accurate
Posted by "Phil Steitz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phil Steitz resolved MATH-166.
------------------------------
Resolution: Fixed
Patch applied. Thanks
> Special functions not very accurate
> -----------------------------------
>
> Key: MATH-166
> URL: https://issues.apache.org/jira/browse/MATH-166
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: Lukas Theussl
> Priority: Minor
> Fix For: 1.2
>
> Attachments: MATH-166.patch
>
>
> The Gamma and Beta functions return values in double precision but the default epsilon is set to 10e-9. I think that the default should be set to the highest possible accuracy, as this is what I'd expect to be returned by a double precision routine. Note that the erf function already uses a call to Gamma.regularizedGammaP with an epsilon of 1.0e-15.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org