summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/flt-32/s_tanhf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/flt-32/s_tanhf.c')
-rw-r--r--sysdeps/ieee754/flt-32/s_tanhf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/ieee754/flt-32/s_tanhf.c b/sysdeps/ieee754/flt-32/s_tanhf.c
index f70702b29c..cc3d63d35d 100644
--- a/sysdeps/ieee754/flt-32/s_tanhf.c
+++ b/sysdeps/ieee754/flt-32/s_tanhf.c
@@ -20,6 +20,8 @@ static char rcsid[] = "$NetBSD: s_tanhf.c,v 1.4 1995/05/10 20:48:24 jtc Exp $";
#include <float.h>
#include <math.h>
#include <math_private.h>
+#include <math-underflow.h>
+#include <libm-alias-float.h>
static const float one=1.0, two=2.0, tiny = 1.0e-30;
@@ -59,4 +61,4 @@ float __tanhf(float x)
}
return (jx>=0)? z: -z;
}
-weak_alias (__tanhf, tanhf)
+libm_alias_float (__tanh, tanh)