X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmath%2Fnexttowardf.c;h=e8e6f67641ae672f9534f9dbe95b01f29f2ed53a;hb=4e597feef0595caefa39ab43c813734a1244fa84;hp=821f72a5c109f22816b9a10ceeb564c66c9932dd;hpb=a45de0cb94b58f1b5ea4af1ca3531c56dc02c0a2;p=musl 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; }