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

Unified Diff: fusl/src/complex/catanh.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/catanh.c
diff --git a/fusl/src/complex/catanh.c b/fusl/src/complex/catanh.c
index e248d9b934135c5b474d16223c520109f0ed3d71..559f93aa656314c292c18bbf1806a3724e1125a0 100644
--- a/fusl/src/complex/catanh.c
+++ b/fusl/src/complex/catanh.c
@@ -2,8 +2,7 @@
/* atanh = -i atan(i z) */
-double complex catanh(double complex z)
-{
- z = catan(CMPLX(-cimag(z), creal(z)));
- return CMPLX(cimag(z), -creal(z));
+double complex catanh(double complex z) {
+ z = catan(CMPLX(-cimag(z), creal(z)));
+ return CMPLX(cimag(z), -creal(z));
}

Powered by Google App Engine
This is Rietveld 408576698