summaryrefslogtreecommitdiff
path: root/src/math/i386/atan2.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/i386/atan2.s')
-rw-r--r--src/math/i386/atan2.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/math/i386/atan2.s b/src/math/i386/atan2.s
new file mode 100644
index 00000000..5c795aff
--- /dev/null
+++ b/src/math/i386/atan2.s
@@ -0,0 +1,7 @@
+.global atan2
+.type atan2,@function
+atan2:
+ fldl 4(%esp)
+ fldl 12(%esp)
+ fpatan
+ ret