aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
Diffstat (limited to 'src/math')
-rw-r--r--src/math/logb.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/logb.go b/src/math/logb.go
index 04ba3e968e..1a46464127 100644
--- a/src/math/logb.go
+++ b/src/math/logb.go
@@ -44,7 +44,7 @@ func Ilogb(x float64) int {
return ilogb(x)
}
-// logb returns the binary exponent of x. It assumes x is finite and
+// ilogb returns the binary exponent of x. It assumes x is finite and
// non-zero.
func ilogb(x float64) int {
x, exp := normalize(x)