X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Fnexttowardf.c;h=8648be6a684a669a2fd3a37784ccdac3733f060a;hp=821f72a5c109f22816b9a10ceeb564c66c9932dd;hb=6ab8136b4477fd75381c06fa0e7fa93c89c712a1;hpb=6cf865dba69bab6346dc268d9173609af36b984e;ds=sidebyside diff --git a/src/math/nexttowardf.c b/src/math/nexttowardf.c index 821f72a5..8648be6a 100644 --- a/src/math/nexttowardf.c +++ b/src/math/nexttowardf.c @@ -30,8 +30,7 @@ float nexttowardf(float x, long double y) if (e == 0x7f800000) return x + x; /* raise underflow if ux.value is subnormal or zero */ - if (e == 0) { - volatile float z = x*x + ux.value*ux.value; - } + if (e == 0) + FORCE_EVAL(x*x + ux.value*ux.value); return ux.value; }