diff options
Diffstat (limited to 'lib/fixunssfti.c')
-rw-r--r-- | lib/fixunssfti.c | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/lib/fixunssfti.c b/lib/fixunssfti.c index b2f47a824..61fe7bb03 100644 --- a/lib/fixunssfti.c +++ b/lib/fixunssfti.c @@ -1,29 +1,32 @@ -//===-- fixunssfti.c - Implement __fixunssfti -----------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file implements __fixunssfti for the compiler_rt library. -// -//===----------------------------------------------------------------------===// +/* ===-- fixunssfti.c - Implement __fixunssfti -----------------------------=== + * + * The LLVM Compiler Infrastructure + * + * This file is distributed under the University of Illinois Open Source + * License. See LICENSE.TXT for details. + * + * ===----------------------------------------------------------------------=== + * + * This file implements __fixunssfti for the compiler_rt library. + * + * ===----------------------------------------------------------------------=== + */ #if __x86_64 #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 -// tu_int is a 64 bit integral type -// value in float is representable in tu_int or is negative -// (no range checking performed) +/* Assumption: float is a IEEE 32 bit floating point type + * tu_int is a 64 bit integral type + * value in float is representable in tu_int or is negative + * (no range checking performed) + */ -// seee eeee emmm mmmm mmmm mmmm mmmm mmmm +// seee eeee emmm mmmm mmmm mmmm mmmm mmmm */ tu_int __fixunssfti(float a) |