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

Unified Diff: fusl/src/complex/casinh.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/casinh.c
diff --git a/fusl/src/complex/casinh.c b/fusl/src/complex/casinh.c
index b57fe8c40ba3bfe94047e8af1f17b12ff9e4dd89..6ac7d7a5c7b1d2ca488f8ff52ef11161cb8f9e7d 100644
--- a/fusl/src/complex/casinh.c
+++ b/fusl/src/complex/casinh.c
@@ -2,8 +2,7 @@
/* asinh(z) = -i asin(i z) */
-double complex casinh(double complex z)
-{
- z = casin(CMPLX(-cimag(z), creal(z)));
- return CMPLX(cimag(z), -creal(z));
+double complex casinh(double complex z) {
+ z = casin(CMPLX(-cimag(z), creal(z)));
+ return CMPLX(cimag(z), -creal(z));
}

Powered by Google App Engine
This is Rietveld 408576698