X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Fnexttowardf.c;fp=src%2Fmath%2Fnexttowardf.c;h=e8e6f67641ae672f9534f9dbe95b01f29f2ed53a;hp=821f72a5c109f22816b9a10ceeb564c66c9932dd;hb=4e597feef0595caefa39ab43c813734a1244fa84;hpb=a3b20f67b35e26813d02e08043db2a5d9263f255 diff --git a/src/math/nexttowardf.c b/src/math/nexttowardf.c index 821f72a5..e8e6f676 100644 --- a/src/math/nexttowardf.c +++ b/src/math/nexttowardf.c @@ -31,7 +31,8 @@ float nexttowardf(float x, long double y) return x + x; /* raise underflow if ux.value is subnormal or zero */ if (e == 0) { - volatile float z = x*x + ux.value*ux.value; + volatile float z; + z = x*x + ux.value*ux.value; } return ux.value; }