summaryrefslogtreecommitdiffstats
path: root/newlib/libm/machine/spu/sf_lround.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/machine/spu/sf_lround.c')
-rw-r--r--newlib/libm/machine/spu/sf_lround.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/newlib/libm/machine/spu/sf_lround.c b/newlib/libm/machine/spu/sf_lround.c
new file mode 100644
index 000000000..250467b7e
--- /dev/null
+++ b/newlib/libm/machine/spu/sf_lround.c
@@ -0,0 +1,7 @@
+#include <math.h>
+#include "headers/lroundf.h"
+
+long int lroundf(float x)
+{
+ return _lroundf(x);
+}