From 1f581dfb431021f6cff69d45b648bf1eac7fafeb Mon Sep 17 00:00:00 2001 From: Sander Schobers Date: Sat, 21 Dec 2019 11:40:50 +0100 Subject: [PATCH] Fixed some comments in math.go. --- math.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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))) }