LemonBoy 56c0a66ce3 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
2021-06-11 14:04:46 +03:00
..
2021-06-03 17:02:16 -05:00
2021-05-20 17:14:18 +02:00
2021-05-20 17:14:18 +02:00
2021-06-03 17:02:16 -05:00
2021-05-20 17:14:18 +02:00
2021-06-10 20:13:43 -07:00
2021-06-11 14:04:46 +03:00
2021-02-25 22:20:30 +02:00
2021-05-08 15:15:30 +03:00
2021-05-08 15:15:30 +03:00
2021-05-20 17:14:18 +02:00
2020-12-31 15:45:24 -08:00
2020-12-31 15:45:24 -08:00
2021-01-07 23:48:58 -08:00
2021-06-10 20:13:43 -07:00
2021-06-10 20:13:43 -07:00
2021-05-08 15:15:30 +03:00
2021-05-20 17:14:18 +02:00
2021-06-01 18:22:58 +09:00
2021-05-08 15:15:30 +03:00
2021-06-10 13:49:09 -04:00
2020-12-31 15:45:24 -08:00
2020-12-31 15:45:24 -08:00
2021-05-08 15:15:30 +03:00
2021-06-08 05:48:33 +02:00
2021-06-10 20:13:43 -07:00
2020-12-31 15:45:24 -08:00
2021-05-08 15:15:30 +03:00
2021-06-10 20:13:43 -07:00
2021-06-06 18:05:06 -07:00
2021-06-10 20:13:43 -07:00
2021-05-08 15:15:30 +03:00
2021-06-10 20:13:43 -07:00
2021-05-08 15:15:30 +03:00
2021-05-08 15:15:30 +03:00