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

Stack overflow on pow with mixed float and complex args #76

Open
KristofferC opened this issue Mar 6, 2024 · 2 comments · May be fixed by #79
Open

Stack overflow on pow with mixed float and complex args #76

KristofferC opened this issue Mar 6, 2024 · 2 comments · May be fixed by #79

Comments

@KristofferC
Copy link
Member

julia> NaNMath.pow(1.0, 1.0+im)
ERROR: StackOverflowError:
Stacktrace:
 [1] pow(x::ComplexF64, y::ComplexF64) (repeats 2 times)
   @ NaNMath ~/.julia/packages/NaNMath/ceWIc/src/NaNMath.jl:26
@shashi
Copy link

shashi commented May 14, 2024

Also encountered this today in SymbolicUtils fuzzer.

moble added a commit to moble/NaNMath.jl that referenced this issue May 30, 2024
@moble moble linked a pull request May 30, 2024 that will close this issue
@moble
Copy link

moble commented Jun 3, 2024

#79 will make it so that this no longer results in a stack overflow. It still does not treat complex arguments, but I think that's covered by #66.

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 a pull request may close this issue.

3 participants