X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnextafterf.c;h=b703487bbca25211cffb54dd000ebe5c34d69189;hb=5271ff46b9e983bec5fd9ab79d5aaf096fa54157;hp=4727f7b0385141f1d6221e763cbb48b496f5220e;hpb=a45de0cb94b58f1b5ea4af1ca3531c56dc02c0a2;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; }