From d5602cebf1ff25ef34298a52209283879609ec16 Mon Sep 17 00:00:00 2001 From: "Paul E. Murphy" Date: Tue, 28 Jun 2016 11:06:42 -0500 Subject: 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. --- sysdeps/alpha/fpu/s_catanf.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'sysdeps/alpha/fpu/s_catanf.c') diff --git a/sysdeps/alpha/fpu/s_catanf.c b/sysdeps/alpha/fpu/s_catanf.c index 76c1718dff..ee2443d4a4 100644 --- a/sysdeps/alpha/fpu/s_catanf.c +++ b/sysdeps/alpha/fpu/s_catanf.c @@ -24,14 +24,18 @@ #undef __catanf #undef catanf -#define __catanf internal_catanf static _Complex float internal_catanf (_Complex float x); -#include -#include "cfloat-compat.h" +#define M_DECL_FUNC(f) internal_catanf +#include -#undef __catanf +/* Disable any aliasing from base template. */ +#undef declare_mgen_alias +#define declare_mgen_alias(__to, __from) + +#include +#include "cfloat-compat.h" c1_cfloat_rettype __c1_catanf (c1_cfloat_decl (x)) -- cgit v1.2.3