]> Cypherpunks repositories - gostls13.git/commit
math: Fix off-by-one error in Ilogb and Logb.
authorCharles L. Dorian <cldorian@gmail.com>
Tue, 28 Sep 2010 14:15:21 +0000 (10:15 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 28 Sep 2010 14:15:21 +0000 (10:15 -0400)
commitb233ac8f18a668a2d91299ebc2996e7e2b623b29
tree65a705e3a3d25556b8053bc1a49fe2c900a8bb4d
parent0e66a13d10856b2d7c8df1c82112d75746f10725
math: Fix off-by-one error in Ilogb and Logb.

Fixes #1141.

R=rsc
CC=adg, golang-dev
https://golang.org/cl/2194047
src/pkg/math/all_test.go
src/pkg/math/logb.go