[ 
https://issues.apache.org/jira/browse/NUMBERS-171?focusedWorklogId=665756&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-665756
 ]

ASF GitHub Bot logged work on NUMBERS-171:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Oct/21 00:30
            Start Date: 17/Oct/21 00:30
    Worklog Time Spent: 10m 
      Work Description: coveralls commented on pull request #107:
URL: https://github.com/apache/commons-numbers/pull/107#issuecomment-944371757


   
   [![Coverage 
Status](https://coveralls.io/builds/43537519/badge)](https://coveralls.io/builds/43537519)
   
   Coverage increased (+0.01%) to 99.669% when pulling 
**957e9274550c449a34606a1c26b5a707146b0be6 on 
aherbert:numbers-171-improvement** into 
**7a3b9df7a4d40e577dbbde82938cc3fe30d72c41 on apache:master**.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 665756)
    Remaining Estimate: 0h
            Time Spent: 10m

> Update the InverseErfc function to support the full range of x in [0, 2]
> ------------------------------------------------------------------------
>
>                 Key: NUMBERS-171
>                 URL: https://issues.apache.org/jira/browse/NUMBERS-171
>             Project: Commons Numbers
>          Issue Type: Improvement
>          Components: gamma
>    Affects Versions: 1.0
>            Reporter: Alex Herbert
>            Assignee: Alex Herbert
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The InverseErfc function computes the inverse complementary error function 
> using the identity with the inverse error function:
> {noformat}
> inverse erfc(x) = inverse erf(1-x)
> {noformat}
> This suffers from loss of precision when {{x -> 0}}. The minimum supported 
> value is 2^-53. Accuracy reduces as this value is approached. Beyond it the 
> function returns infinity.
> A dedicated implementation does not require use of 1 - x and can compute to 
> the minimum supported 64-bit value. Example output from the matlab erfcinv 
> function:
> {noformat}
> erfcinv(2^-53) = 5.863584748755168
> erfcinv(5e-324) = 27.216482834230213
> {noformat}
> The Boost C++ library has an implementation for the inverse erf accurate to 
> double min value. The license is compatible with the Apache license. I 
> suggest an internal implementation of the Boost method to update the function 
> to support the full range of the argument x.
> See:
> Boost error function inverses:
>  
> [https://www.boost.org/doc/libs/1_77_0/libs/math/doc/html/math_toolkit/sf_erf/error_inv.html]
> STATISTICS-37



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

Reply via email to