musl-tcc/src/math/i386/rintf.c

8 lines
87 B
C

#include <math.h>
float rintf(float x)
{
__asm__ ("frndint" : "+t"(x));
return x;
}