projects
/
libm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use #if LDBL_MANT_DIG == ... instead of custom LD80 etc macros
[libm]
/
src
/
math
/
modfl.c
diff --git
a/src/math/modfl.c
b/src/math/modfl.c
index
d1a2360
..
2ca67b1
100644
(file)
--- a/
src/math/modfl.c
+++ b/
src/math/modfl.c
@@
-37,12
+37,12
@@
#include "libm.h"
#include "libm.h"
-#if LD
6
4
+#if LD
BL_MANT_DIG == 53 && LDBL_MAX_EXP == 102
4
long double modfl(long double x, long double *iptr)
{
return modf(x, iptr);
}
long double modfl(long double x, long double *iptr)
{
return modf(x, iptr);
}
-#elif
LD80 || LD128
+#elif
(LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384
#if LDBL_MANL_SIZE > 32
#define MASK ((uint64_t)-1)
#if LDBL_MANL_SIZE > 32
#define MASK ((uint64_t)-1)