CVSROOT: /cvs Module name: src Changes by: marty...@cvs.openbsd.org 2011/05/30 16:23:59
Modified files: lib/libm/src : s_tanh.c Log message: 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.