math: move x87-family rint functions to C with inline asm
[musl.git] / src / math / i386 / rint.c
bloba5276a60d8f4c0baa6e72836ea43f24b03fb4666
1 #include <math.h>
3 double rint(double x)
5 __asm__ ("frndint" : "+t"(x));
6 return x;