projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix powerpc asm not to store data in volatile space below stack pointer
[musl]
/
src
/
math
/
llround.c
diff --git
a/src/math/llround.c
b/src/math/llround.c
index
c11fc3b
..
4d94787
100644
(file)
--- a/
src/math/llround.c
+++ b/
src/math/llround.c
@@
-1,10
+1,6
@@
-#define type double
-#define roundit round
-#define dtype long long
-#define DTYPE_MIN LLONG_MIN
-#define DTYPE_MAX LLONG_MAX
-#define fn llround
-
-#include "lround.c"
-
+#include <math.h>
+long long llround(double x)
+{
+ return round(x);
+}