first commit of the new libm!
[musl] / src / math / lroundf.c
diff --git a/src/math/lroundf.c b/src/math/lroundf.c
new file mode 100644 (file)
index 0000000..135ba58
--- /dev/null
@@ -0,0 +1,8 @@
+#define type            float
+#define roundit         roundf
+#define dtype           long
+#define DTYPE_MIN       LONG_MIN
+#define DTYPE_MAX       LONG_MAX
+#define fn              lroundf
+
+#include "lround.c"