summaryrefslogtreecommitdiff
path: root/sysdeps/libm-i387/s_atanl.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/s_atanl.S')
-rw-r--r--sysdeps/libm-i387/s_atanl.S17
1 files changed, 17 insertions, 0 deletions
diff --git a/sysdeps/libm-i387/s_atanl.S b/sysdeps/libm-i387/s_atanl.S
new file mode 100644
index 0000000000..867e60b1c2
--- /dev/null
+++ b/sysdeps/libm-i387/s_atanl.S
@@ -0,0 +1,17 @@
+/*
+ * Written by J.T. Conklin <jtc@netbsd.org>.
+ * Public domain.
+ *
+ * Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
+ */
+
+#include <machine/asm.h>
+
+RCSID("$NetBSD: $")
+
+ENTRY(__atanl)
+ fldt 4(%esp)
+ fld1
+ fpatan
+ ret
+weak_alias (__atanl, atanl)