aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2021-06-11 09:23:48 +0200
committerVeikka Tuominen <git@vexu.eu>2021-06-11 14:04:46 +0300
commit56c0a66ce30094d199420a3f2b2d2e759c1b0613 (patch)
tree6886f18e18b63384d5345ccd226dcb28cd2a0820 /src
parent2ce033f4159409db66866e28a3591256ea0dfadc (diff)
downloadzig-56c0a66ce30094d199420a3f2b2d2e759c1b0613.tar.gz
zig-56c0a66ce30094d199420a3f2b2d2e759c1b0613.zip
std: Fix tanh for negative inputs
It turns out the code was not ported correctly from C and produced wrong results for negative input values. As a bonus fix the NaN codepath by adding yet another missing piece of code. Spotted in #9047
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions