Commit 149d3f06 authored by Charles L. Dorian's avatar Charles L. Dorian Committed by Robert Griesemer

math: fix typo in all_test.go

Logb errors were reported as Ilogb errors.

R=rsc, golang-dev, gri
CC=golang-dev
https://golang.org/cl/5517045
parent bab56ecb
......@@ -2214,8 +2214,8 @@ func TestLogb(t *testing.T) {
}
}
for i := 0; i < len(vffrexpBC); i++ {
if e := Logb(vffrexpBC[i]); !alike(logbBC[i], e) {
t.Errorf("Ilogb(%g) = %g, want %g", vffrexpBC[i], e, logbBC[i])
if f := Logb(vffrexpBC[i]); !alike(logbBC[i], f) {
t.Errorf("Logb(%g) = %g, want %g", vffrexpBC[i], f, logbBC[i])
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment