projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
support ld80 pseudo-denormal invalid bit patterns; treat them as nan
[oweals/musl.git]
/
src
/
math
/
llroundf.c
diff --git
a/src/math/llroundf.c
b/src/math/llroundf.c
index 594ce967f808ddc341bf8e86d763556122a07f59..19eb77ee3d568c9d95826a9a29ba5e90e24af819 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);
+}