xref: /third_party/musl/src/math/i386/rint.c (revision 570af302)
1#include <math.h>
2
3double rint(double x)
4{
5	__asm__ ("frndint" : "+t"(x));
6	return x;
7}
8