JuliaDiff / JuliaDiff/ForwardDiff.jl
special case `log(Dual(Inf,Inf))`
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 1k
- Forks
- 160
- PR merge metrics
- No merged PRs in 30d
Description
This is similar in spirit to #178. It would allow me to calculate
ForwardDiff.derivative(x->log(x/(1.0-x)), 1.0)
as Inf correctly.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Review the related issue #178 and reproduce the Julia example using ForwardDiff.derivative(x -> log(x/(1.0-x)), 1.0). Trace how log(Dual(Inf,Inf)) is handled, then verify that the example returns Inf correctly without regressing existing Dual logarithm behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100