X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Fnextafterf.c;h=b703487bbca25211cffb54dd000ebe5c34d69189;hp=47775b92fd1db2c9c211fe0ea156d9ba10dc2276;hb=6f64505df37c41d7496612dffe86048765339a7a;hpb=4e597feef0595caefa39ab43c813734a1244fa84 diff --git a/src/math/nextafterf.c b/src/math/nextafterf.c index 47775b92..b703487b 100644 --- a/src/math/nextafterf.c +++ b/src/math/nextafterf.c @@ -28,9 +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; - z = x*x + ux.value*ux.value; - } + if (e == 0) + FORCE_EVAL(x*x + ux.value*ux.value); return ux.value; }