CVSROOT: /cvs Module name: src Changes by: marty...@cvs.openbsd.org 2011/07/02 13:40:01
Modified files: lib/libm/src : s_tanhf.c Log message: For tiny x, tanhf = x*(one+x). GCC (at -O2) optimized this into x+x*x, as a result sign got lost for the zero inputs. Explicitly return in this case, similarly like has been done in tanh.