summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles L. Dorian <cldorian@gmail.com>2010-06-03 15:04:22 -0700
committerCharles L. Dorian <cldorian@gmail.com>2010-06-03 15:04:22 -0700
commitfd756ce68cc2e498a71068f702f68649330cce9b (patch)
tree35bb3236b17b6dde70962e4c95c4a5272456445a /src
parent2fb040199647c13f11c4420ee48657e67e3ed1e4 (diff)
downloadgolang-fd756ce68cc2e498a71068f702f68649330cce9b.tar.gz
math: fix typo in Exp2 benchmark
Was timing Exp, not Exp2. R=rsc, r CC=golang-dev http://codereview.appspot.com/1521042 Committer: Rob Pike <r@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/pkg/math/all_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/math/all_test.go b/src/pkg/math/all_test.go
index 15bc68e11..9a4801b00 100644
--- a/src/pkg/math/all_test.go
+++ b/src/pkg/math/all_test.go
@@ -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)
}
}