about summary refs log tree commit diff
path: root/src/math/i386/rint.c
blob: a5276a60d8f4c0baa6e72836ea43f24b03fb4666 (plain) (blame)
1
2
3
4
5
6
7
#include <math.h>

double rint(double x)
{
	__asm__ ("frndint" : "+t"(x));
	return x;
}