X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnextafterf.c;h=b703487bbca25211cffb54dd000ebe5c34d69189;hb=f997e224fc30361fe683c6b5d0ba39718043ca8d;hp=4727f7b0385141f1d6221e763cbb48b496f5220e;hpb=6cf865dba69bab6346dc268d9173609af36b984e;p=musl diff --git a/src/math/nextafterf.c b/src/math/nextafterf.c index 4727f7b0..b703487b 100644 --- a/src/math/nextafterf.c +++ b/src/math/nextafterf.c @@ -28,8 +28,7 @@ float nextafterf(float x, float 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; }