mirror of
https://github.com/golang/go
synced 2024-11-21 20:44:39 -07:00
math: fix typo in Exp2 benchmark
Was timing Exp, not Exp2. R=rsc, r CC=golang-dev https://golang.org/cl/1521042
This commit is contained in:
parent
86c9aca41e
commit
3fb8d2ad84
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user