bool, string
(u)int, (u)int8, (u)int16, (u)int32, (u)int64, uintptr(指针)
byte, tune(char,32位)
float32, float64, complex64, complex128(复数,实部64位,虚部64位)
复数:
cmplx.Exp(1i*math.Pi) + 1,
cmplx.Pow(math.E, 1i*math.Pi) + 1)
c := 3 + 4i
cmplx.Abs(c)
bool, string
(u)int, (u)int8, (u)int16, (u)int32, (u)int64, uintptr(指针)
byte, tune(char,32位)
float32, float64, complex64, complex128(复数,实部64位,虚部64位)
复数:
cmplx.Exp(1i*math.Pi) + 1,
cmplx.Pow(math.E, 1i*math.Pi) + 1)
c := 3 + 4i
cmplx.Abs(c)