aboutsummaryrefslogtreecommitdiff
path: root/src/math/i386/s_rint.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/i386/s_rint.s')
-rw-r--r--src/math/i386/s_rint.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/math/i386/s_rint.s b/src/math/i386/s_rint.s
new file mode 100644
index 0000000..5ba4ab4
--- /dev/null
+++ b/src/math/i386/s_rint.s
@@ -0,0 +1,5 @@
+.global rint
+rint:
+ fldl 4(%esp)
+ frndint
+ ret