summaryrefslogtreecommitdiff
path: root/lib/fixunssfdi.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-05 04:02:56 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-05 04:02:56 +0000
commit2bf62728b8ce00e295c7bf0fb328427496cc85aa (patch)
tree4387ffcd063b8111e471f320fe1c1c437063c272 /lib/fixunssfdi.c
parent0e4ad9c55a8554a220af3dc6b0fc4b0a5d64c025 (diff)
downloadcompiler-rt-2bf62728b8ce00e295c7bf0fb328427496cc85aa.tar.gz
Fixup C++ style comments are not allowed in ISO C90 to classic C style.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78152 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fixunssfdi.c')
-rw-r--r--lib/fixunssfdi.c41
1 files changed, 22 insertions, 19 deletions
diff --git a/lib/fixunssfdi.c b/lib/fixunssfdi.c
index 6495c68e7..3837bd890 100644
--- a/lib/fixunssfdi.c
+++ b/lib/fixunssfdi.c
@@ -1,27 +1,30 @@
-//===-- fixunssfdi.c - Implement __fixunssfdi -----------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file implements __fixunssfdi for the compiler_rt library.
-//
-//===----------------------------------------------------------------------===//
+/* ===-- fixunssfdi.c - Implement __fixunssfdi -----------------------------===
+ *
+ * The LLVM Compiler Infrastructure
+ *
+ * This file is distributed under the University of Illinois Open Source
+ * License. See LICENSE.TXT for details.
+ *
+ * ===----------------------------------------------------------------------===
+ *
+ * This file implements __fixunssfdi for the compiler_rt library.
+ *
+ * ===----------------------------------------------------------------------===
+ */
#include "int_lib.h"
-// Returns: convert a to a unsigned long long, rounding toward zero.
-// Negative values all become zero.
+/* Returns: convert a to a unsigned long long, rounding toward zero.
+ * Negative values all become zero.
+ */
-// Assumption: float is a IEEE 32 bit floating point type
-// du_int is a 64 bit integral type
-// value in float is representable in du_int or is negative
-// (no range checking performed)
+/* Assumption: float is a IEEE 32 bit floating point type
+ * du_int is a 64 bit integral type
+ * value in float is representable in du_int or is negative
+ * (no range checking performed)
+ */
-// seee eeee emmm mmmm mmmm mmmm mmmm mmmm
+/* seee eeee emmm mmmm mmmm mmmm mmmm mmmm */
du_int
__fixunssfdi(float a)