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

Unified Diff: fusl/src/complex/catanhf.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/catanhf.c
diff --git a/fusl/src/complex/catanhf.c b/fusl/src/complex/catanhf.c
index 4a5eb04079b9de3af8d3c814a53010fb52618828..b5da54c6e6438095bbe57af56760922f7bbe2964 100644
--- a/fusl/src/complex/catanhf.c
+++ b/fusl/src/complex/catanhf.c
@@ -1,7 +1,6 @@
#include "libm.h"
-float complex catanhf(float complex z)
-{
- z = catanf(CMPLXF(-cimagf(z), crealf(z)));
- return CMPLXF(cimagf(z), -crealf(z));
+float complex catanhf(float complex z) {
+ z = catanf(CMPLXF(-cimagf(z), crealf(z)));
+ return CMPLXF(cimagf(z), -crealf(z));
}

Powered by Google App Engine
This is Rietveld 408576698