diff options
Diffstat (limited to 'sysdeps/ieee754/ldbl-128/s_llroundl.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-128/s_llroundl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/ieee754/ldbl-128/s_llroundl.c b/sysdeps/ieee754/ldbl-128/s_llroundl.c index bfc81cc..dd8fe1a 100644 --- a/sysdeps/ieee754/ldbl-128/s_llroundl.c +++ b/sysdeps/ieee754/ldbl-128/s_llroundl.c @@ -26,7 +26,7 @@ #include <fix-fp-int-convert-overflow.h> long long int -__llroundl (long double x) +__llroundl (_Float128 x) { int64_t j0; u_int64_t i1, i0; @@ -79,13 +79,13 @@ __llroundl (long double x) unspecified. */ #ifdef FE_INVALID if (FIX_LDBL_LLONG_CONVERT_OVERFLOW - && !(sign == -1 && x > (long double) LLONG_MIN - 0.5L)) + && !(sign == -1 && x > (_Float128) LLONG_MIN - 0.5L)) { feraiseexcept (FE_INVALID); return sign == 1 ? LLONG_MAX : LLONG_MIN; } else if (!FIX_LDBL_LLONG_CONVERT_OVERFLOW - && x <= (long double) LLONG_MIN - 0.5L) + && x <= (_Float128) LLONG_MIN - 0.5L) { /* If truncation produces LLONG_MIN, the cast will not raise the exception, but may raise "inexact". */ |