Commit 3fb8d2ad authored by Charles L. Dorian's avatar Charles L. Dorian Committed by Rob Pike

math: fix typo in Exp2 benchmark

Was timing Exp, not Exp2.

R=rsc, r
CC=golang-dev
https://golang.org/cl/1521042
parent 86c9aca4
......@@ -2339,7 +2339,7 @@ func BenchmarkExpm1(b *testing.B) {
func BenchmarkExp2(b *testing.B) {
for i := 0; i < b.N; i++ {
Exp(.5)
Exp2(.5)
}
}
......
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