aboutsummaryrefslogtreecommitdiff
path: root/src/math/ilogb.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-03-16 21:01:34 -0400
committerRich Felker <dalias@aerifal.cx>2012-03-16 21:01:34 -0400
commit93a50a26cd0f9efc59cc83daae7b2d916b327ab1 (patch)
treeada41a23c4b01f27d1d2cf8cd88948b061aa8f61 /src/math/ilogb.c
parentremove junk sincos implementations in preparation to merge nsz's real ones (diff)
parentin math.h make lgamma_r and non-double bessel _GNU_SOURCE only (diff)
downloadgrovel-93a50a26cd0f9efc59cc83daae7b2d916b327ab1.tar.gz
grovel-93a50a26cd0f9efc59cc83daae7b2d916b327ab1.tar.xz
Merge remote branch 'nsz/master'
Diffstat (limited to 'src/math/ilogb.c')
-rw-r--r--src/math/ilogb.c1
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;
}