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

Unified Diff: fusl/src/math/__signbit.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/__signbit.c
diff --git a/fusl/src/math/__signbit.c b/fusl/src/math/__signbit.c
index e700b6b75fcb91e1919ad64b7da4e8c6a16f6065..7368479b441b551a81a61020dc1f47e148f122b0 100644
--- a/fusl/src/math/__signbit.c
+++ b/fusl/src/math/__signbit.c
@@ -1,13 +1,10 @@
#include "libm.h"
// FIXME: macro in math.h
-int __signbit(double x)
-{
- union {
- double d;
- uint64_t i;
- } y = { x };
- return y.i>>63;
+int __signbit(double x) {
+ union {
+ double d;
+ uint64_t i;
+ } y = {x};
+ return y.i >> 63;
}
-
-

Powered by Google App Engine
This is Rietveld 408576698