Refactor test suit endianness pre-processor code. More style and readability fixes, start labling endif's

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78234 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/powidf2.c b/lib/powidf2.c
index 3237e26..37972b6 100644
--- a/lib/powidf2.c
+++ b/lib/powidf2.c
@@ -1,19 +1,20 @@
-//===-- powidf2.cpp - Implement __powidf2 ---------------------------------===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file implements __powidf2 for the compiler_rt library.
-//
-//===----------------------------------------------------------------------===//
+/* ===-- powidf2.cpp - Implement __powidf2 ---------------------------------===
+ *
+ *                     The LLVM Compiler Infrastructure
+ *
+ * This file is distributed under the University of Illinois Open Source
+ * License. See LICENSE.TXT for details.
+ *
+ * ===----------------------------------------------------------------------===
+ *
+ * This file implements __powidf2 for the compiler_rt library.
+ *
+ * ===----------------------------------------------------------------------===
+ */
 
 #include "int_lib.h"
 
-// Returns: a ^ b
+/* Returns: a ^ b */
 
 double
 __powidf2(double a, si_int b)