diff options
author | nsz <nsz@port70.net> | 2012-03-13 19:51:14 +0100 |
---|---|---|
committer | nsz <nsz@port70.net> | 2012-03-13 19:51:14 +0100 |
commit | 9560b6b152efeb23cc4e570dbaea5ef333ac971f (patch) | |
tree | 21a80f73b9ed676889148212429ee558d54c91cd /src/math/ilogb.c | |
parent | df8b3e5aef151748426b17d4fbccd508acb14207 (diff) | |
download | musl-9560b6b152efeb23cc4e570dbaea5ef333ac971f.tar.gz musl-9560b6b152efeb23cc4e570dbaea5ef333ac971f.tar.bz2 musl-9560b6b152efeb23cc4e570dbaea5ef333ac971f.tar.xz musl-9560b6b152efeb23cc4e570dbaea5ef333ac971f.zip |
remove libm.h includes when math.h and float.h are enough
Diffstat (limited to 'src/math/ilogb.c')
-rw-r--r-- | src/math/ilogb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/math/ilogb.c b/src/math/ilogb.c index c5915a0c..0a3a6a46 100644 --- a/src/math/ilogb.c +++ b/src/math/ilogb.c @@ -11,7 +11,6 @@ int ilogb(double x) if (u.bits == 0) return FP_ILOGB0; /* subnormal x */ - // FIXME: scale up subnormals with a *0x1p53 or find top set bit with a better method for (e = -0x3ff; u.bits < (uint64_t)1<<63; e--, u.bits<<=1); return e; } |