6 #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
7 long long llrintl(long double x)
11 #elif defined(FE_INEXACT)
13 see comments in lrint.c
15 Note that if LLONG_MAX == 0x7fffffffffffffff && LDBL_MANT_DIG == 64
16 then x == 2**63 - 0.5 is the only input that overflows and
17 raises inexact (with tonearest or upward rounding mode)
19 long long llrintl(long double x)
21 #pragma STDC FENV_ACCESS ON
24 e = fetestexcept(FE_INEXACT);
26 if (!e && (x > LLONG_MAX || x < LLONG_MIN))
27 feclearexcept(FE_INEXACT);
32 long long llrintl(long double x)