projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
some extra legacy header stuff
[musl]
/
src
/
math
/
lroundf.c
diff --git
a/src/math/lroundf.c
b/src/math/lroundf.c
index
135ba58
..
c4707e7
100644
(file)
--- a/
src/math/lroundf.c
+++ b/
src/math/lroundf.c
@@
-1,8
+1,6
@@
-#define type float
-#define roundit roundf
-#define dtype long
-#define DTYPE_MIN LONG_MIN
-#define DTYPE_MAX LONG_MAX
-#define fn lroundf
+#include <math.h>
-#include "lround.c"
+long lroundf(float x)
+{
+ return roundf(x);
+}