I've read that you do not consider proper reporting bugs about rounding, but I have a program compiled in a RH62 with egcs that works fine and the same program compiled in RH73 with gcc making trouble.
Simple code line: char aux[50]; char aux2[50]; sprintf(aux,"%.0f",2068.5); sprintf(aux2,"%.0f",2067.5); In RH73 gives in both cases "2068" !! In RH62 aux is "2069" ! So I have to think that gcc has a problem that egcs does not. -- Summary: sprintf round problem (that not occurs with egcs) Product: gcc Version: 2.96 (redhat) Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mauro at altersoft dot com dot ar CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18060