1/*
2 * Public domain.
3 */
4
5#include <machine/asm.h>
6#include <libm-alias-float.h>
7
8ENTRY(__nearbyintf)
9	flds	4(%esp)
10	subl	$32, %esp
11	cfi_adjust_cfa_offset (32)
12	fnstenv	4(%esp)
13	frndint
14	fldenv	4(%esp)
15	addl	$32, %esp
16	cfi_adjust_cfa_offset (-32)
17	ret
18END (__nearbyintf)
19libm_alias_float (__nearbyint, nearbyint)
20