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

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

Powered by Google App Engine
This is Rietveld 408576698