You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
kortschak
changed the title
cmd/compile: finite scaling of complex infinity give complex NaN
cmd/compile: finite scaling of complex infinity gives complex NaN
Apr 30, 2020
This is working as intended. The issue is the untyped constant 42 is converted to a complex number with zero imaginary part and the multiplication between Inf and 0.0 is NaN.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Run the code at https://play.golang.org/p/0WqB9HZZFwA
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: