diff options
Diffstat (limited to 'newlib/libm/machine/spu/headers/rintf.h')
-rw-r--r-- | newlib/libm/machine/spu/headers/rintf.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/libm/machine/spu/headers/rintf.h b/newlib/libm/machine/spu/headers/rintf.h new file mode 100644 index 000000000..4649b0f38 --- /dev/null +++ b/newlib/libm/machine/spu/headers/rintf.h @@ -0,0 +1,6 @@ +#include "headers/rintf4.h" + +static __inline float _rintf(float x) +{ + return spu_extract(_rintf4(spu_promote(x, 0)), 0); +} |