From 2bf62728b8ce00e295c7bf0fb328427496cc85aa Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Wed, 5 Aug 2009 04:02:56 +0000 Subject: 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 --- lib/fixxfti.c | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) (limited to 'lib/fixxfti.c') diff --git a/lib/fixxfti.c b/lib/fixxfti.c index d9cb3eaf..84406bd1 100644 --- a/lib/fixxfti.c +++ b/lib/fixxfti.c @@ -1,28 +1,31 @@ -//===-- fixxfti.c - Implement __fixxfti -----------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file implements __fixxfti for the compiler_rt library. -// -//===----------------------------------------------------------------------===// +/* ===-- fixxfti.c - Implement __fixxfti -----------------------------------=== + * + * The LLVM Compiler Infrastructure + * + * This file is distributed under the University of Illinois Open Source + * License. See LICENSE.TXT for details. + * + * ===----------------------------------------------------------------------=== + * + * This file implements __fixxfti for the compiler_rt library. + * + * ===----------------------------------------------------------------------=== + */ #if __x86_64 #include "int_lib.h" -// Returns: convert a to a signed long long, rounding toward zero. +/* Returns: convert a to a signed long long, rounding toward zero. */ -// Assumption: long double is an intel 80 bit floating point type padded with 6 bytes -// su_int is a 32 bit integral type -// value in long double is representable in ti_int (no range checking performed) +/* Assumption: long double is an intel 80 bit floating point type padded with 6 bytes + * su_int is a 32 bit integral type + * value in long double is representable in ti_int (no range checking performed) + */ -// gggg gggg gggg gggg gggg gggg gggg gggg | gggg gggg gggg gggg seee eeee eeee eeee | -// 1mmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm | mmmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm +/* gggg gggg gggg gggg gggg gggg gggg gggg | gggg gggg gggg gggg seee eeee eeee eeee | + * 1mmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm | mmmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm + */ ti_int __fixxfti(long double a) -- cgit v1.2.3