This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/soft-fp op-common.h
- From: drepper at sources dot redhat dot com
- To: glibc-cvs at sourceware dot cygnus dot com
- Date: 21 May 2002 02:15:32 -0000
- Subject: libc/soft-fp op-common.h
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2-2-branch
Changes by: drepper@sources.redhat.com 2002-05-20 19:15:31
Modified files:
soft-fp : op-common.h
Log message:
(_FP_PACK_CANONICAL): After rounding, if
_FP_FRAC_OVERP_X is set, use _FP_FRAC_CLEAR_OVERP_X to clear it.
(_FP_FROM_INT): Perform right shifts on unsigned integer type.
Do not clear implicit one bit here, it must be done post-rounding.
Only pad to the left using left shift if value uses less than the
available fractional bits.