diff --git a/math.go b/math.go index 05193cf..520a101 100644 --- a/math.go +++ b/math.go @@ -62,22 +62,22 @@ func Round32(f float32) float32 { return float32(math.Round(float64(f))) } -// Sq the square root of the value +// Sq returns the squared value of f. func Sq(f float64) float64 { return f * f } -// Sq32 the square root of the value +// Sq32 returns the squared value of f. func Sq32(f float32) float32 { return f * f } -// Sqrt the square root of the value +// Sqrt the square root of the value. func Sqrt(f float64) float64 { return math.Sqrt(f) } -// Sqrt32 the square root of the value +// Sqrt32 the square root of the value. func Sqrt32(f float32) float32 { return float32(Sqrt(float64(f))) }