about summary refs log tree commit diff
path: root/sysdeps/alpha/fpu/s_ctanhf.c
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-06-28 11:06:42 -0500
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-08-19 16:47:31 -0500
commitd5602cebf1ff25ef34298a52209283879609ec16 (patch)
tree6d48955e25b06314b107b9484ae008d8b1a2c374 /sysdeps/alpha/fpu/s_ctanhf.c
parentf6d3a72eca7558e3c52cecc8484665399eeea626 (diff)
downloadglibc-d5602cebf1ff25ef34298a52209283879609ec16.tar.gz
glibc-d5602cebf1ff25ef34298a52209283879609ec16.tar.xz
glibc-d5602cebf1ff25ef34298a52209283879609ec16.zip
Convert _Complex tangent functions to generated code
This converts s_c{,a}tan{,h}{f,,l} into a single
templated file c{,a}tan{,h}_template.c with the
exception of alpha.
Diffstat (limited to 'sysdeps/alpha/fpu/s_ctanhf.c')
-rw-r--r--sysdeps/alpha/fpu/s_ctanhf.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/sysdeps/alpha/fpu/s_ctanhf.c b/sysdeps/alpha/fpu/s_ctanhf.c
index cb99279de6..359f053489 100644
--- a/sysdeps/alpha/fpu/s_ctanhf.c
+++ b/sysdeps/alpha/fpu/s_ctanhf.c
@@ -24,14 +24,18 @@
 
 #undef __ctanhf
 #undef ctanhf
-#define __ctanhf internal_ctanhf
 
 static _Complex float internal_ctanhf (_Complex float x);
 
-#include <math/s_ctanhf.c>
-#include "cfloat-compat.h"
+#define M_DECL_FUNC(f) internal_ctanhf
+#include <math-type-macros-float.h>
 
-#undef __ctanhf
+/* Disable any aliasing from base template.  */
+#undef declare_mgen_alias
+#define declare_mgen_alias(__to, __from)
+
+#include <math/s_ctanh_template.c>
+#include "cfloat-compat.h"
 
 c1_cfloat_rettype
 __c1_ctanhf (c1_cfloat_decl (x))