summaryrefslogtreecommitdiff
path: root/src/math/i386/rintf.c
blob: bb4121a4e61ce899fa1cf9d2e879eaf26785f468 (plain) (blame)
1
2
3
4
5
6
7
#include <math.h>

float rintf(float x)
{
	__asm__ ("frndint" : "+t"(x));
	return x;
}