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
/
ilogbl.c
diff --git
a/src/math/ilogbl.c
b/src/math/ilogbl.c
index
03c8f21
..
099c81a
100644
(file)
--- a/
src/math/ilogbl.c
+++ b/
src/math/ilogbl.c
@@
-1,11
+1,11
@@
#include <limits.h>
#include "libm.h"
#include <limits.h>
#include "libm.h"
-#if LD
6
4
+#if LD
BL_MANT_DIG == 53 && LDBL_MAX_EXP == 102
4
int ilogbl(long double x)
{
return ilogb(x);
}
int ilogbl(long double x)
{
return ilogb(x);
}
-#elif LD
80
+#elif LD
BL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384
int ilogbl(long double x)
{
union ldshape u = {x};
int ilogbl(long double x)
{
union ldshape u = {x};