Files
moxa/_test/complex2.go
2019-10-29 18:14:05 +01:00

13 lines
134 B
Go

package main
import "fmt"
func main() {
c := complex(1, 0)
c += 1
fmt.Printf("%T %v\n", c, c)
}
// Output:
// complex128 (2+0i)