Print this page
5261 libm should stop using synonyms.h

*** 25,35 **** /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ ! #pragma weak tanh = __tanh /* INDENT OFF */ /* * TANH(X) * RETURN THE HYPERBOLIC TANGENT OF X --- 25,35 ---- /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ ! #pragma weak __tanh = tanh /* INDENT OFF */ /* * TANH(X) * RETURN THE HYPERBOLIC TANGENT OF X
*** 54,64 **** * tanh(NaN) is NaN; * only tanh(0)=0 is exact for finite argument. */ #include "libm.h" - #include "libm_synonyms.h" #include "libm_protos.h" #include <math.h> static const double one = 1.0, --- 54,63 ----