summaryrefslogtreecommitdiff
path: root/lib/powixf2.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-05 19:06:50 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-05 19:06:50 +0000
commit1fcb40b79d8fbfcc9acb0966d5f9bba09431f832 (patch)
treefce65563d921b10e2ee3780b17a6b020e61afccf /lib/powixf2.c
parent2bf62728b8ce00e295c7bf0fb328427496cc85aa (diff)
downloadcompiler-rt-1fcb40b79d8fbfcc9acb0966d5f9bba09431f832.tar.gz
compiler-rt-1fcb40b79d8fbfcc9acb0966d5f9bba09431f832.tar.bz2
compiler-rt-1fcb40b79d8fbfcc9acb0966d5f9bba09431f832.tar.xz
Next batch of C++ to C comment style changes. Also improve and factor out endianness pre-processor code.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/powixf2.c')
-rw-r--r--lib/powixf2.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/lib/powixf2.c b/lib/powixf2.c
index 07e145a4..1a816e91 100644
--- a/lib/powixf2.c
+++ b/lib/powixf2.c
@@ -1,21 +1,22 @@
-//===-- powixf2.cpp - Implement __powixf2 ---------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file implements __powixf2 for the compiler_rt library.
-//
-//===----------------------------------------------------------------------===//
+/* ===-- powixf2.cpp - Implement __powixf2 ---------------------------------===
+ *
+ * The LLVM Compiler Infrastructure
+ *
+ * This file is distributed under the University of Illinois Open Source
+ * License. See LICENSE.TXT for details.
+ *
+ * ===----------------------------------------------------------------------===
+ *
+ * This file implements __powixf2 for the compiler_rt library.
+ *
+ * ===----------------------------------------------------------------------===
+ */
#if !_ARCH_PPC
#include "int_lib.h"
-// Returns: a ^ b
+/* Returns: a ^ b */
long double
__powixf2(long double a, si_int b)