aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles L. Dorian <cldorian@gmail.com>2010-06-03 15:04:22 -0700
committerRob Pike <r@golang.org>2010-06-03 15:04:22 -0700
commit3fb8d2ad843667e6d4f3a11e21910d82c8e17347 (patch)
tree6b8d6ae4328f1fd72f8dec851ac14d7c6c1ae97e
parent86c9aca41eef98d5bc24655004bf3f44c88080e0 (diff)
downloadgo-3fb8d2ad843667e6d4f3a11e21910d82c8e17347.tar.gz
go-3fb8d2ad843667e6d4f3a11e21910d82c8e17347.zip
math: fix typo in Exp2 benchmark
Was timing Exp, not Exp2. R=rsc, r CC=golang-dev https://golang.org/cl/1521042
-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 15bc68e11f..9a4801b006 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)
}
}