diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2011-05-30 22:24:00 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2011-05-30 22:24:00 +0000 |
commit | 973b968f1e5f9aebd5ffdbba3ea1a2c40be6e98e (patch) | |
tree | 49ec91f9626bf002e31737ba0645bebeda1273bf /sys/arch/mips64 | |
parent | d9dc37b8c703833db5532b806050cc8cc94ddb10 (diff) |
For tiny x, tanh = x*(one+x). GCC (at -O2) optimized this into
x+x*x, as a result sign got lost for the input of -0. Explicitly
return negative zero in this case. Found by Cephes.
Diffstat (limited to 'sys/arch/mips64')
0 files changed, 0 insertions, 0 deletions