about summary refs log tree commit diff
path: root/src/math/lroundf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/lroundf.c')
-rw-r--r--src/math/lroundf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/lroundf.c b/src/math/lroundf.c
new file mode 100644
index 00000000..135ba583
--- /dev/null
+++ b/src/math/lroundf.c
@@ -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"