diff options
Diffstat (limited to 'lib/fixunsdfsi.c')
-rw-r--r-- | lib/fixunsdfsi.c | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/lib/fixunsdfsi.c b/lib/fixunsdfsi.c index 383a35efe..f9d2b6d86 100644 --- a/lib/fixunsdfsi.c +++ b/lib/fixunsdfsi.c @@ -1,27 +1,30 @@ -//===-- fixunsdfsi.c - Implement __fixunsdfsi -----------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file implements __fixunsdfsi for the compiler_rt library. -// -//===----------------------------------------------------------------------===// +/* ===-- fixunsdfsi.c - Implement __fixunsdfsi -----------------------------=== + * + * The LLVM Compiler Infrastructure + * + * This file is distributed under the University of Illinois Open Source + * License. See LICENSE.TXT for details. + * + * ===----------------------------------------------------------------------=== + * + * This file implements __fixunsdfsi for the compiler_rt library. + * + * ===----------------------------------------------------------------------=== + */ #include "int_lib.h" -// Returns: convert a to a unsigned int, rounding toward zero. -// Negative values all become zero. +/* Returns: convert a to a unsigned int, rounding toward zero. + * Negative values all become zero. + */ -// Assumption: double is a IEEE 64 bit floating point type -// su_int is a 32 bit integral type -// value in double is representable in su_int or is negative -// (no range checking performed) +/* Assumption: double is a IEEE 64 bit floating point type + * su_int is a 32 bit integral type + * value in double is representable in su_int or is negative + * (no range checking performed) + */ -// seee eeee eeee mmmm mmmm mmmm mmmm mmmm | mmmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm +/* seee eeee eeee mmmm mmmm mmmm mmmm mmmm | mmmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm */ su_int __fixunsdfsi(double a) |