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
{{ message }}
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.
I flailed a bit when trying to implement and test complex
cube root (exercise on page 46) because I was trying to:
import "cmplx"
This failed with:
# command-line-arguments
.\cbrt.go:13: imported and not used: "cmplx"
.\cbrt.go:25: undefined: cmplx
Because the correct path is "math/cmplx", which it
took me 10 minutes to figure out. Perhaps the hint about
cmplx.Pow could mention the path for the package.
Original issue reported on code.google.com by James.Sy...@gmail.com on 1 Apr 2012 at 12:48
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
James.Sy...@gmail.com
on 1 Apr 2012 at 12:48The text was updated successfully, but these errors were encountered: