diff options
| author | Russ Cox <rsc@golang.org> | 2016-10-03 22:33:49 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2016-10-05 03:53:11 +0000 |
| commit | aab849e4297d60918602355a0335cc7b3ca4c5f2 (patch) | |
| tree | ae2c8e5450d3a326716b602586520b6aa5e75d0c /src/encoding | |
| parent | 84743c348b0a4a7ed1ea3d7122feb757ccc7ebae (diff) | |
| download | go-aab849e4297d60918602355a0335cc7b3ca4c5f2.tar.xz | |
math: use portable Exp instead of 387 instructions on 386
The 387 implementation is less accurate and slower.
name old time/op new time/op delta
Exp-8 29.7ns ± 2% 24.0ns ± 2% -19.08% (p=0.000 n=10+10)
This makes Gamma more accurate too.
Change-Id: Iad33b9cce0b087ccbce3e08ba7a6d285c4999d02
Reviewed-on: https://go-review.googlesource.com/30230
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Quentin Smith <quentin@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
