X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnexttoward.c;h=7355f2f19d5afa71fb7a985d72d724ca74d59fd8;hb=04ccbdca6d88738e23e0d6a622ad33854c468646;hp=43f8fee8decc33efa08bb168d187445e36023ba1;hpb=4e597feef0595caefa39ab43c813734a1244fa84;p=musl diff --git a/src/math/nexttoward.c b/src/math/nexttoward.c index 43f8fee8..7355f2f1 100644 --- a/src/math/nexttoward.c +++ b/src/math/nexttoward.c @@ -38,10 +38,8 @@ double nexttoward(double x, long double y) if (e == 0x7ff) 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; } #endif