X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Fnextafterl.c;fp=src%2Fmath%2Fnextafterl.c;h=c09d9dd0e0f2863722df950748ef1c0f16feed87;hp=611ea53dbcef4b615cc21c0d85d8110a205c4c4d;hb=4e597feef0595caefa39ab43c813734a1244fa84;hpb=a3b20f67b35e26813d02e08043db2a5d9263f255 diff --git a/src/math/nextafterl.c b/src/math/nextafterl.c index 611ea53d..c09d9dd0 100644 --- a/src/math/nextafterl.c +++ b/src/math/nextafterl.c @@ -39,7 +39,8 @@ long double nextafterl(long double x, long double y) return x + x; /* raise underflow if ux.value is subnormal or zero */ if (ux.bits.exp == 0) { - volatile float z = x*x + ux.value*ux.value; + volatile float z; + z = x*x + ux.value*ux.value; } return ux.value; } @@ -77,7 +78,8 @@ long double nextafterl(long double x, long double y) return x + x; /* raise underflow if ux.value is subnormal or zero */ if (ux.bits.exp == 0) { - volatile float z = x*x + ux.value*ux.value; + volatile float z; + z = x*x + ux.value*ux.value; } return ux.value; }