Gomathmath.Pow

xのy乗を返します。

문법

math.Pow(x, y float64) float64

예제

아래 값을 입력하면 예제에 즉시 반영됩니다.

fmt
Println
math
fmt.Println(math.Pow(2, 10)) // 1024