diff --git a/lib/msun/ld128/s_expl.c b/lib/msun/ld128/s_expl.c index d3a4c932564f..96145307e556 100644 --- a/lib/msun/ld128/s_expl.c +++ b/lib/msun/ld128/s_expl.c @@ -227,7 +227,7 @@ expl(long double x) /* Reduce x to (k*ln2 + midpoint[n2] + r1 + r2). */ fn = x * INV_L + 0x1.8p112 - 0x1.8p112; - n = (int)fn; + n = (int)fn; n2 = (unsigned)n % INTERVALS; k = (n - n2) / INTERVALS; r1 = x - fn * L1; diff --git a/lib/msun/ld80/s_expl.c b/lib/msun/ld80/s_expl.c index 0fa5c918c3e7..38568f23bf97 100644 --- a/lib/msun/ld80/s_expl.c +++ b/lib/msun/ld80/s_expl.c @@ -262,11 +262,11 @@ expl(long double x) fn = x * INV_L + 0x1.8p63 - 0x1.8p63; r = x - fn * L1 - fn * L2; /* r = r1 + r2 done independently. */ #if defined(HAVE_EFFICIENT_IRINTL) - n = irintl(fn); + n = irintl(fn); #elif defined(HAVE_EFFICIENT_IRINT) - n = irint(fn); + n = irint(fn); #else - n = (int)fn; + n = (int)fn; #endif n2 = (unsigned)n % INTERVALS; k = (n - n2) / INTERVALS;