X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fexp2f.c;h=ea50db4afa42a923ff69f6d0430f87a76c03e23e;hb=0636d5977aa796d78869ee310c6e69220b919eee;hp=279f32dea3b95ed6cd5ef2e2a2a2405f03f8fc5a;hpb=19b1a8453e9d329a16711900a84797c5f1333208;p=musl diff --git a/src/math/exp2f.c b/src/math/exp2f.c index 279f32de..ea50db4a 100644 --- a/src/math/exp2f.c +++ b/src/math/exp2f.c @@ -97,11 +97,11 @@ float exp2f(float x) return x; } if (x >= 128) { - STRICT_ASSIGN(float, x, x * 0x1p127); + STRICT_ASSIGN(float, x, x * 0x1p127f); return x; } if (x <= -150) { - STRICT_ASSIGN(float, x, 0x1p-100*0x1p-100); + STRICT_ASSIGN(float, x, 0x1p-100f*0x1p-100f); return x; } } else if (ix <= 0x33000000) { /* |x| <= 0x1p-25 */