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.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/ia64/fpu/s_sincos.c b/sysdeps/ia64/fpu/s_sincos.c
new file mode 100644
index 0000000000..1ddbc2122a
--- /dev/null
+++ b/sysdeps/ia64/fpu/s_sincos.c
@@ -0,0 +1,9 @@
+#include <math.h>
+
+void
+__sincos (double x, double *s, double *c)
+{
+  *s = sin (x);
+  *c = cos (x);
+}
+weak_alias (__sincos, sincos)