Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: fusl/src/math/fabs.c

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fusl/src/math/fabs.c
diff --git a/fusl/src/math/fabs.c b/fusl/src/math/fabs.c
index e8258cfdbcf1a751621a69bac02f0f0f9b22b1cf..0e1a5702f97ee4704b2ea72c97bf1b725db22ac3 100644
--- a/fusl/src/math/fabs.c
+++ b/fusl/src/math/fabs.c
@@ -1,9 +1,11 @@
#include <math.h>
#include <stdint.h>
-double fabs(double x)
-{
- union {double f; uint64_t i;} u = {x};
- u.i &= -1ULL/2;
- return u.f;
+double fabs(double x) {
+ union {
+ double f;
+ uint64_t i;
+ } u = {x};
+ u.i &= -1ULL / 2;
+ return u.f;
}

Powered by Google App Engine
This is Rietveld 408576698