projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix integer overflow in WIFSTOPPED macro
[musl]
/
src
/
math
/
llroundf.c
diff --git
a/src/math/llroundf.c
b/src/math/llroundf.c
index
594ce96
..
19eb77e
100644
(file)
--- a/
src/math/llroundf.c
+++ b/
src/math/llroundf.c
@@
-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);
+}