http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48787
Thomas Henlich <thenlich at users dot sourceforge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #24120|0 |1 is obsolete| | --- Comment #4 from Thomas Henlich <thenlich at users dot sourceforge.net> 2011-04-29 07:12:10 UTC --- Created attachment 24138 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24138 Updated test for cases where d>0 The suggested patch fails on examples in this test where d>0. I think for rounding up we need to test if ALL the cut off digits are zeros.