Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add erfinv and erfcinv for Float16 and generalize logerfc and logerfcx #372

Merged
merged 14 commits into from
May 7, 2024

Conversation

devmotion
Copy link
Member

As the title says 🙂

I was a bit unsure if computations in erfinv and erfcinv should be performed with Float32 or Float16 since the coefficients in Blair's paper are not representable with Float16.

@codecov
Copy link

codecov bot commented Jan 26, 2022

Codecov Report

Attention: Patch coverage is 72.97297% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 94.10%. Comparing base (c1ce5b1) to head (24b0379).
Report is 4 commits behind head on master.

Files Patch % Lines
src/erf.jl 72.97% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #372      +/-   ##
==========================================
- Coverage   94.95%   94.10%   -0.85%     
==========================================
  Files          14       14              
  Lines        2914     2935      +21     
==========================================
- Hits         2767     2762       -5     
- Misses        147      173      +26     
Flag Coverage Δ
unittests 94.10% <72.97%> (-0.85%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

test/erf.jl Outdated Show resolved Hide resolved
@ViralBShah
Copy link
Member

@devmotion Is this good to merge?

@devmotion
Copy link
Member Author

From my side yes but someone has to review it.

@ViralBShah
Copy link
Member

Perhaps @oscardssmith ?

src/erf.jl Outdated Show resolved Hide resolved
src/erf.jl Outdated Show resolved Hide resolved
src/erf.jl Outdated Show resolved Hide resolved
@devmotion devmotion merged commit 124915f into master May 7, 2024
10 of 12 checks passed
@devmotion devmotion deleted the dw/erf branch May 7, 2024 21:00
oscardssmith added a commit that referenced this pull request May 7, 2024
Followup to #372. This manages to remove a one of the branches by pushing the domain split further, and makes `erfcinv` use the better version I found for erfinv in the original PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants