commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Brisard (JIRA) <>
Subject [jira] [Commented] (MATH-849) Precision improvement in class Gamma
Date Fri, 31 Aug 2012 03:22:07 GMT


Sébastien Brisard commented on MATH-849:

New tests implemented in {{r1379271}} show that the new implementation of {{logGamma}} does
not compromise the fix of MATH-735.
> Precision improvement in class Gamma
> ------------------------------------
>                 Key: MATH-849
>                 URL:
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Sébastien Brisard
>            Assignee: Sébastien Brisard
>            Priority: Minor
>              Labels: accuracy, special-functions
>             Fix For: 3.1
>         Attachments:, MATH-849.patch,
> New unit tests (see below) show that (on the set of values tested) the current accuracy
of {{Gamma.logGamma(double)}} is about 130 ulps.
> The [NSWC Library of Mathematical Functions|]
proposes an implementation of this function with much higher accuracy: on the same set of
values, the error goes down to about 3 ulps.
> This library is available [here|],
and is license-free [see this thread|]. It is proposed
to port this implementation in Commons-Math. This in turn could lead to a resolution of MATH-738.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message