diff options
Diffstat (limited to 'sysdeps/libm-i387/s_rint.S')
-rw-r--r-- | sysdeps/libm-i387/s_rint.S | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sysdeps/libm-i387/s_rint.S b/sysdeps/libm-i387/s_rint.S new file mode 100644 index 0000000..2f09a47 --- /dev/null +++ b/sysdeps/libm-i387/s_rint.S @@ -0,0 +1,14 @@ +/* + * Written by J.T. Conklin <jtc@netbsd.org>. + * Public domain. + */ + +#include <machine/asm.h> + +RCSID("$NetBSD: s_rint.S,v 1.4 1995/05/09 00:16:08 jtc Exp $") + +ENTRY(__rint) + fldl 4(%esp) + frndint + ret +weak_alias (__rint, rint) |