mirror of
https://github.com/golang/go
synced 2024-10-06 16:10:03 +00:00
math: fix function name in comment
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>
This commit is contained in:
parent
81ed1354e8
commit
601ad2e457
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue