Index: fusl/src/math/lrint.c |
diff --git a/fusl/src/math/lrint.c b/fusl/src/math/lrint.c |
index bdca8b7cb82ec8b90ca9619e989dceb253b7ebc9..9df34ebfd87db358e1d19ed15bc17f288e0c4060 100644 |
--- a/fusl/src/math/lrint.c |
+++ b/fusl/src/math/lrint.c |
@@ -25,22 +25,20 @@ otherwise LONG_MAX and LONG_MIN can be represented exactly |
as a double. |
*/ |
-#if LONG_MAX < 1U<<53 && defined(FE_INEXACT) |
-long lrint(double x) |
-{ |
- #pragma STDC FENV_ACCESS ON |
- int e; |
+#if LONG_MAX < 1U << 53 && defined(FE_INEXACT) |
+long lrint(double x) { |
+#pragma STDC FENV_ACCESS ON |
+ int e; |
- e = fetestexcept(FE_INEXACT); |
- x = rint(x); |
- if (!e && (x > LONG_MAX || x < LONG_MIN)) |
- feclearexcept(FE_INEXACT); |
- /* conversion */ |
- return x; |
+ e = fetestexcept(FE_INEXACT); |
+ x = rint(x); |
+ if (!e && (x > LONG_MAX || x < LONG_MIN)) |
+ feclearexcept(FE_INEXACT); |
+ /* conversion */ |
+ return x; |
} |
#else |
-long lrint(double x) |
-{ |
- return rint(x); |
+long lrint(double x) { |
+ return rint(x); |
} |
#endif |