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

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

Powered by Google App Engine
This is Rietveld 408576698