blob: 20ef30f12847066deb234663592411324883250c [file] [log] [blame]
#include <math.h>
float truncf(float x)
{
__asm__ ("frintz %s0, %s1" : "=w"(x) : "w"(x));
return x;
}