about summary refs log tree commit diff
path: root/sysdeps/m68k/m680x0/fpu/s_sinf.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-02-24 12:22:22 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2012-02-24 22:13:57 +0100
commit27c1f49d4b983cf2274161872d36d30a543392ef (patch)
tree2ea342775b275817a134997bed249b45eec853a8 /sysdeps/m68k/m680x0/fpu/s_sinf.c
parent429ee403b87a92e05bef7a5ab2124d4de8d3cfaa (diff)
downloadglibc-27c1f49d4b983cf2274161872d36d30a543392ef.tar.gz
glibc-27c1f49d4b983cf2274161872d36d30a543392ef.tar.xz
glibc-27c1f49d4b983cf2274161872d36d30a543392ef.zip
m68k: set errno in sin, cos, tan
Diffstat (limited to 'sysdeps/m68k/m680x0/fpu/s_sinf.c')
-rw-r--r--sysdeps/m68k/m680x0/fpu/s_sinf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/m68k/m680x0/fpu/s_sinf.c b/sysdeps/m68k/m680x0/fpu/s_sinf.c
index 9b23d4823f..304f4f76f6 100644
--- a/sysdeps/m68k/m680x0/fpu/s_sinf.c
+++ b/sysdeps/m68k/m680x0/fpu/s_sinf.c
@@ -1,2 +1,5 @@
-#define	FUNC	sinf
-#include <s_atanf.c>
+#ifndef FUNC
+# define FUNC sinf
+#endif
+#define float_type float
+#include <s_sin.c>