projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix bogus lazy allocation in ctermid and missing malloc failure check
[musl]
/
src
/
math
/
lroundl.c
diff --git
a/src/math/lroundl.c
b/src/math/lroundl.c
index
1469127
..
094fdf6
100644
(file)
--- a/
src/math/lroundl.c
+++ b/
src/math/lroundl.c
@@
-1,16
+1,6
@@
-#include
"libm.h"
-#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
+#include
<math.h>
+
long lroundl(long double x)
{
long lroundl(long double x)
{
- return
lround
(x);
+ return
roundl
(x);
}
}
-#else
-#define type long double
-#define roundit roundl
-#define dtype long
-#define DTYPE_MIN LONG_MIN
-#define DTYPE_MAX LONG_MAX
-#define fn lroundl
-
-#include "lround.c"
-#endif