JuliaDiff / JuliaDiff/DualNumbers.jl
isnan(Dual(1.0,NaN)) == false
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 80
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
julia> isnan(Dual(1.,NaN))
false
This didn't come up as an issue for me, but I'm curious if this is a deliberate choice.
compare
julia> isnan(1. + (NaN)im)
true
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
Start with the Julia REPL reproduction in the issue and inspect how isnan is defined for Dual values, comparing it with the shown complex-number behavior. The issue does not name files or tests; done requires deciding whether the false result is deliberate and documenting or changing the behavior accordingly.
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
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100