use alternate formula for acos asm to avoid loss of precision
[oweals/musl.git] / src / math / rintl.c
index 1cc35df50cdb1bb5f126bbb9c7c1c6f211c6e289..6a311a9d67a681fda7de0d0993feaed4bc402c15 100644 (file)
@@ -79,7 +79,7 @@ long double rintl(long double x)
         * If the result is +-0, then it must have the same sign as x, but
         * the above calculation doesn't always give this.  Fix up the sign.
         */
-       if (ex < BIAS && x == 0.0L)
+       if (ex < BIAS && x == 0.0)
                return zero[sign];
 
        return x;