aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/libm-i387/e_atan2l.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/e_atan2l.S')
-rw-r--r--sysdeps/libm-i387/e_atan2l.S16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysdeps/libm-i387/e_atan2l.S b/sysdeps/libm-i387/e_atan2l.S
new file mode 100644
index 0000000000..748571e38e
--- /dev/null
+++ b/sysdeps/libm-i387/e_atan2l.S
@@ -0,0 +1,16 @@
+/*
+ * 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(__ieee754_atan2l)
+ fldt 4(%esp)
+ fldt 16(%esp)
+ fpatan
+ ret