aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorJanis Johnson <janis187@us.ibm.com>2009-09-17 17:07:24 +0000
committerJanis Johnson <janis@gcc.gnu.org>2009-09-17 17:07:24 +0000
commitd2da4af2c7872e1d9892cc5b3792d10dd86782a4 (patch)
tree76332f90632195d93b999cee84b8426bd071c7d0 /gcc/final.c
parent51a0d6aa772829f49bc40564c92aa96e7a3cd910 (diff)
downloadgcc-d2da4af2c7872e1d9892cc5b3792d10dd86782a4.zip
gcc-d2da4af2c7872e1d9892cc5b3792d10dd86782a4.tar.gz
gcc-d2da4af2c7872e1d9892cc5b3792d10dd86782a4.tar.bz2
re PR c/41049 (conversion from integer to decimal float loses trailing zeros)
gcc/ PR c/41049 * real.c decimal_from_integer, decimal_integer_string): New. (real_from_integer): Use them as special case for decimal float. * config/dfp-bit.c (_si_to_sd, _usi_to_sd): Use default rounding. (_di_to_sd, _di_to_dd, _di_to_td, _udi_to_sd, _udi_to_dd, _udi_to_td): Do not append zero after the decimal point in string to convert. gcc/testsuite/ PR c/41049 * dfp/pr41049.c: New test. From-SVN: r151806
Diffstat (limited to 'gcc/final.c')
0 files changed, 0 insertions, 0 deletions