about summary refs log tree commit diff
path: root/sysdeps/libm-i387/s_tanf.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/s_tanf.S')
-rw-r--r--sysdeps/libm-i387/s_tanf.S16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysdeps/libm-i387/s_tanf.S b/sysdeps/libm-i387/s_tanf.S
new file mode 100644
index 0000000000..3296434174
--- /dev/null
+++ b/sysdeps/libm-i387/s_tanf.S
@@ -0,0 +1,16 @@
+/*
+ * Written by J.T. Conklin <jtc@netbsd.org>.
+ * Public domain.
+ */
+
+#include <machine/asm.h>
+
+RCSID("$NetBSD: s_tanf.S,v 1.3 1995/05/09 00:31:09 jtc Exp $")
+
+/* A float's domain isn't large enough to require argument reduction. */
+ENTRY(__tanf)
+	flds	4(%esp)
+	fptan
+	fstp	%st(0)
+	ret
+weak_alias (__tanf, tanf)