| Index: fusl/src/math/nearbyintl.c
|
| diff --git a/fusl/src/math/nearbyintl.c b/fusl/src/math/nearbyintl.c
|
| index 82aeadd275cbb9bc74547410307cb52a0465269d..89f6700b16711c8060a548666dc714214a238602 100644
|
| --- a/fusl/src/math/nearbyintl.c
|
| +++ b/fusl/src/math/nearbyintl.c
|
| @@ -3,25 +3,23 @@
|
| #include "libm.h"
|
|
|
| #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
|
| -long double nearbyintl(long double x)
|
| -{
|
| - return nearbyint(x);
|
| +long double nearbyintl(long double x) {
|
| + return nearbyint(x);
|
| }
|
| #else
|
| #include <fenv.h>
|
| -long double nearbyintl(long double x)
|
| -{
|
| +long double nearbyintl(long double x) {
|
| #ifdef FE_INEXACT
|
| - PRAGMA_STDC_FENV_ACCESS_ON
|
| - int e;
|
| + PRAGMA_STDC_FENV_ACCESS_ON
|
| + int e;
|
|
|
| - e = fetestexcept(FE_INEXACT);
|
| + e = fetestexcept(FE_INEXACT);
|
| #endif
|
| - x = rintl(x);
|
| + x = rintl(x);
|
| #ifdef FE_INEXACT
|
| - if (!e)
|
| - feclearexcept(FE_INEXACT);
|
| + if (!e)
|
| + feclearexcept(FE_INEXACT);
|
| #endif
|
| - return x;
|
| + return x;
|
| }
|
| #endif
|
|
|