| commit | 73a8d572f5d2e7020b71026d48bfdf99decf8d5b | [log] [tgz] |
|---|---|---|
| author | Rasmus Munk Larsen <rmlarsen@google.com> | Thu Dec 12 19:34:25 2019 +0000 |
| committer | Rasmus Munk Larsen <rmlarsen@google.com> | Thu Dec 12 19:34:25 2019 +0000 |
| tree | bd3033a54199807841448ab3a1633ee899720f17 | |
| parent | 88062b7feddcf3e8354c6857753523c2a80d864f [diff] |
Clamp tanh approximation outside [-c, c] where c is the smallest value where the approximation is exactly +/-1. Without FMA, c = 7.90531110763549805, with FMA c = 7.99881172180175781.
Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
For more information go to http://eigen.tuxfamily.org/.
For pull request, bug reports, and feature requests, go to https://gitlab.com/libeigen/eigen.