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