Go math
11개 함수
math.Absmath.Abs(x float64) float64절댓값을 반환합니다.
math.Ceilmath.Ceil(x float64) float64올림한 값을 반환합니다.
math.Floormath.Floor(x float64) float64내림한 값을 반환합니다.
math.Roundmath.Round(x float64) float64반올림한 값을 반환합니다.
math.Sqrtmath.Sqrt(x float64) float64양의 제곱근을 반환합니다.
math.Powmath.Pow(x, y float64) float64x의 y 거듭제곱을 반환합니다.
math.Maxmath.Max(x, y float64) float64두 값 중 큰 값을 반환합니다.
math.Minmath.Min(x, y float64) float64두 값 중 작은 값을 반환합니다.
math.Logmath.Log(x float64) float64자연로그 값을 반환합니다.
math.Log10math.Log10(x float64) float64상용로그(밑 10) 값을 반환합니다.
math.Pimath.Pi (const float64)원주율 π ≈ 3.141592653589793.
