Bug: both `erfcinv(2big"0.8")` and `erfcinv(2big(0.41))` do not terminate.
@lrnv is already working on this.
Since Sep 22, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 64/100
Research direction
Start by running the Julia reproducer with erfcinv(2big"0.8") and compare it with erfcinv(2big(0.8)). Trace the erfcinv implementation and its handling of exact 0.8 values; done means the exact-value call terminates and behaves consistently with the working call.
Written by the indexing model from the issue text.
Description
using SpecialFunctions
erfcinv(2big"0.8") # never terminates
erfcinv(2big(0.8)) # works fine
The algorithm seems to have an issue with the exact 0.8 value.
- Dominant language
- Julia
- Stars
- 384
- Forks
- 115
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JuliaMath/SpecialFunctions.jl
-
erfinv(::Float16) and erfcinv(::Float16) are wrong for abs(x) <= 0.75 (erfinv(Float16(0)) == 0.2201)Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
JuliaMath/SpecialFunctions.jl#571 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
JuliaMath/SpecialFunctions.jl#570 ·
-
Difficulty 5/5 Over a week Newbie friendliness 40/100
JuliaMath/SpecialFunctions.jl#569 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
JuliaMath/SpecialFunctions.jl#567 ·
-
Difficulty 4/5 1-2 days Newbie friendliness 56/100
JuliaMath/SpecialFunctions.jl#563 ·
All issues in JuliaMath/SpecialFunctions.jl
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
FluxML/Metalhead.jl#407 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
lux
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
JuliaGraphs/GraphNeuralNetworks.jl#732 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100