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

Unified Diff: fusl/src/complex/csinl.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/csinl.c
diff --git a/fusl/src/complex/csinl.c b/fusl/src/complex/csinl.c
index 4e9f86c3ae4dc2094dd55dd79bd88a25ce40d784..b6787cedc900ef4342aa692b54c92333409c75a2 100644
--- a/fusl/src/complex/csinl.c
+++ b/fusl/src/complex/csinl.c
@@ -1,14 +1,12 @@
#include "libm.h"
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
-long double complex csinl(long double complex z)
-{
- return csin(z);
+long double complex csinl(long double complex z) {
+ return csin(z);
}
#else
-long double complex csinl(long double complex z)
-{
- z = csinhl(CMPLXL(-cimagl(z), creall(z)));
- return CMPLXL(cimagl(z), -creall(z));
+long double complex csinl(long double complex z) {
+ z = csinhl(CMPLXL(-cimagl(z), creall(z)));
+ return CMPLXL(cimagl(z), -creall(z));
}
#endif

Powered by Google App Engine
This is Rietveld 408576698