From 3fb8d2ad843667e6d4f3a11e21910d82c8e17347 Mon Sep 17 00:00:00 2001 From: "Charles L. Dorian" Date: Thu, 3 Jun 2010 15:04:22 -0700 Subject: [PATCH] math: fix typo in Exp2 benchmark Was timing Exp, not Exp2. R=rsc, r CC=golang-dev https://golang.org/cl/1521042 --- src/pkg/math/all_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/math/all_test.go b/src/pkg/math/all_test.go index 15bc68e11fc..9a4801b006c 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) } }