diff options
Diffstat (limited to 'compiler-rt/lib/fixunsdfdi.c')
-rw-r--r-- | compiler-rt/lib/fixunsdfdi.c | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/compiler-rt/lib/fixunsdfdi.c b/compiler-rt/lib/fixunsdfdi.c index f7e1041ad4f..4d5dcfebcff 100644 --- a/compiler-rt/lib/fixunsdfdi.c +++ b/compiler-rt/lib/fixunsdfdi.c @@ -1,27 +1,30 @@ -//===-- fixunsdfdi.c - Implement __fixunsdfdi -----------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file implements __fixunsdfdi for the compiler_rt library. -// -//===----------------------------------------------------------------------===// +/* ===-- fixunsdfdi.c - Implement __fixunsdfdi -----------------------------=== + * + * The LLVM Compiler Infrastructure + * + * This file is distributed under the University of Illinois Open Source + * License. See LICENSE.TXT for details. + * + * ===----------------------------------------------------------------------=== + * + * This file implements __fixunsdfdi 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: double is a IEEE 64 bit floating point type -// du_int is a 64 bit integral type -// value in double is representable in du_int or is negative -// (no range checking performed) +/* Assumption: double is a IEEE 64 bit floating point type + * du_int is a 64 bit integral type + * value in double is representable in du_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 */ du_int __fixunsdfdi(double a) |