]> Cypherpunks repositories - gostls13.git/commitdiff
math: fix function name in comment
authorcui fliter <imcusg@gmail.com>
Thu, 3 Nov 2022 07:34:35 +0000 (15:34 +0800)
committerGopher Robot <gobot@golang.org>
Mon, 7 Nov 2022 19:46:45 +0000 (19:46 +0000)
Change-Id: Iabf955cdb161d02cb4a3e06f466b331e1b6eb2c2
Signed-off-by: cui fliter <imcusg@gmail.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/447456
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/math/logb.go

index 04ba3e968e73061d25144fb23c0482ad48baae52..1a46464127cc886aa78ad825c075fda4eab05614 100644 (file)
@@ -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)