about summary refs log tree commit diff
path: root/sysdeps/ia64/fpu/s_sincos.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ia64/fpu/s_sincos.c')
-rw-r--r--sysdeps/ia64/fpu/s_sincos.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/ia64/fpu/s_sincos.c b/sysdeps/ia64/fpu/s_sincos.c
index 41254ae60a..1ddbc2122a 100644
--- a/sysdeps/ia64/fpu/s_sincos.c
+++ b/sysdeps/ia64/fpu/s_sincos.c
@@ -1 +1,9 @@
-/* Not needed. */
+#include <math.h>
+
+void
+__sincos (double x, double *s, double *c)
+{
+  *s = sin (x);
+  *c = cos (x);
+}
+weak_alias (__sincos, sincos)