]> Cypherpunks repositories - gostls13.git/commit
math: Faster Tanh
authorCharles L. Dorian <cldorian@gmail.com>
Mon, 17 Sep 2012 21:18:16 +0000 (17:18 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 17 Sep 2012 21:18:16 +0000 (17:18 -0400)
commit0f8f5d2140120d00fee53c633e82265d6d4e6784
tree6651637c9277288815579d76272d80d6450afd86
parent916ccbf165d3322139381ccd4e0df923354785cd
math: Faster Tanh

From 159 to 47.6 ns/op; slightly more accurate.

R=rsc, golang-dev, mtj, dave, remyoudompheng
CC=golang-dev
https://golang.org/cl/6500121
src/pkg/math/tanh.go