From: Charles L. Dorian Date: Thu, 3 Jun 2010 22:04:22 +0000 (-0700) Subject: math: fix typo in Exp2 benchmark X-Git-Tag: weekly.2010-06-09~31 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3fb8d2ad843667e6d4f3a11e21910d82c8e17347;p=gostls13.git 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 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) } }