about summary refs log tree commit diff
path: root/src/math/i386/e_log.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/i386/e_log.s')
-rw-r--r--src/math/i386/e_log.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math/i386/e_log.s b/src/math/i386/e_log.s
new file mode 100644
index 00000000..34b8d38d
--- /dev/null
+++ b/src/math/i386/e_log.s
@@ -0,0 +1,6 @@
+.global log
+log:
+	fldln2
+	fldl 4(%esp)
+	fyl2x
+	ret