support ld80 pseudo-denormal invalid bit patterns; treat them as nan
[oweals/musl.git] / src / math / exp2.c
index bf7421ee1bf707994c06d1eefe6cf5a7aead6f52..08c21a66a79c701193ee645415ac6c2b4af18626 100644 (file)
@@ -39,7 +39,7 @@ P3    = 0x1.c6b08d704a0a6p-5,
 P4    = 0x1.3b2ab88f70400p-7,
 P5    = 0x1.5d88003875c74p-10;
 
-static volatile double twom1000 = 0x1p-1000;
+static const volatile double twom1000 = 0x1p-1000;
 
 static const double tbl[TBLSIZE * 2] = {
 /*  exp2(z + eps)          eps     */