simplify lround and llround functions
[musl] / src / math / llroundf.c
index 594ce96..19eb77e 100644 (file)
@@ -1,8 +1,6 @@
-#define type            float
-#define roundit         roundf
-#define dtype           long long
-#define DTYPE_MIN       LLONG_MIN
-#define DTYPE_MAX       LLONG_MAX
-#define fn              llroundf
+#include <math.h>
 
-#include "lround.c"
+long long llroundf(float x)
+{
+       return roundf(x);
+}