------- Comment #1 from janis at gcc dot gnu dot org 2009-09-17 17:07 ------- Subject: Bug 41049
Author: janis Date: Thu Sep 17 17:07:24 2009 New Revision: 151806 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151806 Log: 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. Added: trunk/gcc/testsuite/gcc.dg/dfp/pr41049.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/dfp-bit.c trunk/gcc/real.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41049