commit | 3fb8d2ad843667e6d4f3a11e21910d82c8e17347 | [log] [tgz] |
---|---|---|
author | Charles L. Dorian <cldorian@gmail.com> | Thu Jun 03 15:04:22 2010 -0700 |
committer | Rob Pike <r@golang.org> | Thu Jun 03 15:04:22 2010 -0700 |
tree | 6b8d6ae4328f1fd72f8dec851ac14d7c6c1ae97e | |
parent | 86c9aca41eef98d5bc24655004bf3f44c88080e0 [diff] [blame] |
math: fix typo in Exp2 benchmark Was timing Exp, not Exp2. R=rsc, r CC=golang-dev https://golang.org/cl/1521042
diff --git a/src/pkg/math/all_test.go b/src/pkg/math/all_test.go index 15bc68e..9a4801b 100644 --- a/src/pkg/math/all_test.go +++ b/src/pkg/math/all_test.go
@@ -2339,7 +2339,7 @@ func BenchmarkExp2(b *testing.B) { for i := 0; i < b.N; i++ { - Exp(.5) + Exp2(.5) } }