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

Unified Diff: fusl/src/complex/cproj.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/complex/cproj.c
diff --git a/fusl/src/complex/cproj.c b/fusl/src/complex/cproj.c
index 15f358a14f045c0dd600a3c654b058c4c212326c..9968e05a43400598891b8860c44f5f079e6cbe67 100644
--- a/fusl/src/complex/cproj.c
+++ b/fusl/src/complex/cproj.c
@@ -1,8 +1,7 @@
#include "libm.h"
-double complex cproj(double complex z)
-{
- if (isinf(creal(z)) || isinf(cimag(z)))
- return CMPLX(INFINITY, copysign(0.0, creal(z)));
- return z;
+double complex cproj(double complex z) {
+ if (isinf(creal(z)) || isinf(cimag(z)))
+ return CMPLX(INFINITY, copysign(0.0, creal(z)));
+ return z;
}

Powered by Google App Engine
This is Rietveld 408576698