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

Unified Diff: fusl/src/complex/cacos.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/cacos.c
diff --git a/fusl/src/complex/cacos.c b/fusl/src/complex/cacos.c
index 27c356364c8c6ffe438767352195e791ed03a23f..3e84a0a13d5e894c0bcb67dee7faa431a5d1f100 100644
--- a/fusl/src/complex/cacos.c
+++ b/fusl/src/complex/cacos.c
@@ -1,11 +1,11 @@
#include "libm.h"
-// FIXME: Hull et al. "Implementing the complex arcsine and arccosine functions using exception handling" 1997
+// FIXME: Hull et al. "Implementing the complex arcsine and arccosine functions
+// using exception handling" 1997
/* acos(z) = pi/2 - asin(z) */
-double complex cacos(double complex z)
-{
- z = casin(z);
- return CMPLX(M_PI_2 - creal(z), -cimag(z));
+double complex cacos(double complex z) {
+ z = casin(z);
+ return CMPLX(M_PI_2 - creal(z), -cimag(z));
}

Powered by Google App Engine
This is Rietveld 408576698