support ld80 pseudo-denormal invalid bit patterns; treat them as nan
[oweals/musl.git] / src / math / llroundf.c
index 594ce967f808ddc341bf8e86d763556122a07f59..19eb77ee3d568c9d95826a9a29ba5e90e24af819 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);
+}