diff --git a/sysdeps/ieee754/flt-32/s_exp10m1f.c b/sysdeps/ieee754/flt-32/s_exp10m1f.c index 04a068ee32..ea3173a174 100644 --- a/sysdeps/ieee754/flt-32/s_exp10m1f.c +++ b/sysdeps/ieee754/flt-32/s_exp10m1f.c @@ -40,7 +40,7 @@ __exp10m1f (float x) { /* x < -7.52575 */ if (ax > (0xffu << 23)) return x + x; /* nan */ - return (ux == 0xff800000) ? -0x1p+0 : -0x1p+0 + 0x1p-26f; + return (ux == 0xff800000) ? -0x1p+0f : -0x1p+0f + 0x1p-26f; } else if (__glibc_unlikely (ax > 0x421a209au)) { /* x > 38.5318 */ diff --git a/sysdeps/ieee754/flt-32/s_exp2m1f.c b/sysdeps/ieee754/flt-32/s_exp2m1f.c index b3f86409cc..325ffb11b0 100644 --- a/sysdeps/ieee754/flt-32/s_exp2m1f.c +++ b/sysdeps/ieee754/flt-32/s_exp2m1f.c @@ -41,7 +41,7 @@ __exp2m1f (float x) { /* x <= -25 */ if (ax > (0xffu << 23)) return x + x; /* nan */ - return (ux == 0xff800000) ? -0x1p+0 : -0x1p+0 + 0x1p-26f; + return (ux == 0xff800000) ? -0x1p+0f : -0x1p+0f + 0x1p-26f; } else if (__glibc_unlikely (ax >= 0x43000000u)) { /* x >= 128 */