JuliaMath / JuliaMath/SpecialFunctions.jl

Bug: `erfcinv(2big"0.8")` does not terminate

Open
#557 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
381
Forks
113
Avg merge
1d 23h
Merged PRs (30d)
1

Description

```julia
using SpecialFunctions

erfcinv(2big"0.8") # does not terminate
```

but `erfcinv(2big(0.8))` works fine, the algorithm seems to have an issue with the exact 0.8 value.

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

Tech stack
julia
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.