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

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

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

KristofferC opened this issue Mar 6, 2024 · 2 comments · Fixed by #83 · 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
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
3 participants