about summary refs log tree commit diff
path: root/sysdeps/i386/fpu/s_rint.S
blob: b4ab01940fc110380bf63b8f359fad44365e9d4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Written by J.T. Conklin <jtc@netbsd.org>.
 * Public domain.
 */

#include <machine/asm.h>
#include <libm-alias-double.h>

RCSID("$NetBSD: s_rint.S,v 1.4 1995/05/09 00:16:08 jtc Exp $")

ENTRY(__rint)
	fldl	4(%esp)
	frndint
	ret
END (__rint)
libm_alias_double (__rint, rint)