summaryrefslogtreecommitdiff
path: root/sysdeps/alpha/fpu/s_csqrtf.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 17:58:54 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 17:58:54 +0000
commit1ba06384fb715fb7732b20911ffc56a61d16cb0d (patch)
tree0fcfaf14f40169b289044495b1984a5fa3e0e965 /sysdeps/alpha/fpu/s_csqrtf.c
parent1af57d5793424a5a6ec542d0a5ef0b7c4f312623 (diff)
parent963c37d5c0eb62b38f8764b23931c0dcdd497a13 (diff)
Merge commit 'refs/top-bases/t/sysvshm' into t/sysvshm
Diffstat (limited to 'sysdeps/alpha/fpu/s_csqrtf.c')
-rw-r--r--sysdeps/alpha/fpu/s_csqrtf.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/sysdeps/alpha/fpu/s_csqrtf.c b/sysdeps/alpha/fpu/s_csqrtf.c
index c7a18d75d7..dc6057fbda 100644
--- a/sysdeps/alpha/fpu/s_csqrtf.c
+++ b/sysdeps/alpha/fpu/s_csqrtf.c
@@ -1,5 +1,5 @@
/* Return square root of complex float value.
- Copyright (C) 2004-2016 Free Software Foundation, Inc.
+ Copyright (C) 2004-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -24,14 +24,18 @@
#undef __csqrtf
#undef csqrtf
-#define __csqrtf internal_csqrtf
static _Complex float internal_csqrtf (_Complex float x);
-#include <math/s_csqrtf.c>
-#include "cfloat-compat.h"
+#define M_DECL_FUNC(f) internal_csqrtf
+#include <math-type-macros-float.h>
-#undef __csqrtf
+/* Disable any aliasing from base template. */
+#undef declare_mgen_alias
+#define declare_mgen_alias(__to, __from)
+
+#include <math/s_csqrt_template.c>
+#include "cfloat-compat.h"
c1_cfloat_rettype
__c1_csqrtf (c1_cfloat_decl (x))
@@ -47,4 +51,4 @@ __c2_csqrtf (c2_cfloat_decl (x))
return c2_cfloat_return (r);
}
-cfloat_versions (csqrtf);
+cfloat_versions (csqrt);