about summary refs log tree commit diff
path: root/src/math/llroundf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/llroundf.c')
-rw-r--r--src/math/llroundf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/llroundf.c b/src/math/llroundf.c
new file mode 100644
index 00000000..594ce967
--- /dev/null
+++ b/src/math/llroundf.c
@@ -0,0 +1,8 @@
+#define type            float
+#define roundit         roundf
+#define dtype           long long
+#define DTYPE_MIN       LLONG_MIN
+#define DTYPE_MAX       LLONG_MAX
+#define fn              llroundf
+
+#include "lround.c"