Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/lib/libc
Module Name: src
Committed By: martin
Date: Thu Nov 8 15:50:54 UTC 2007
Modified Files:
src/lib/libc/arch/sparc64/softfloat: qp.c softfloat-qp.h softfloat.h
src/lib/libc/softfloat/bits64: softfloat.c
Log Message:
When converting long double values to integer types, explicitly use the
"round to zero" variants of the softfloat conversion functions.
Add a variant to convert long double to unsigned long - the "to long"
variant checked for overflows that do not apply to unsigned results.
This fixes the regress/lib/libc/convfp tests for sparc64.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/lib/libc/arch/sparc64/softfloat/qp.c \
src/lib/libc/arch/sparc64/softfloat/softfloat.h
cvs rdiff -r1.1 -r1.2 src/lib/libc/arch/sparc64/softfloat/softfloat-qp.h
cvs rdiff -r1.3 -r1.4 src/lib/libc/softfloat/bits64/softfloat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index