From 601ad2e4570896d07df8ace7d2ab9100a57d301c Mon Sep 17 00:00:00 2001 From: cui fliter Date: Thu, 3 Nov 2022 15:34:35 +0800 Subject: [PATCH] math: fix function name in comment Change-Id: Iabf955cdb161d02cb4a3e06f466b331e1b6eb2c2 Signed-off-by: cui fliter Reviewed-on: https://go-review.googlesource.com/c/go/+/447456 Run-TryBot: Ian Lance Taylor TryBot-Result: Gopher Robot Auto-Submit: Ian Lance Taylor Reviewed-by: Robert Griesemer Reviewed-by: Ian Lance Taylor --- src/math/logb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.50.0