From fd756ce68cc2e498a71068f702f68649330cce9b Mon Sep 17 00:00:00 2001 From: "Charles L. Dorian" Date: Thu, 3 Jun 2010 15:04:22 -0700 Subject: 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 --- src/pkg/math/all_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) } } -- cgit v1.2.3