https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70235
--- Comment #23 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- (In reply to Dominique d'Humieres from comment #22) > Created attachment 38107 [details] > New patch with test. > > With the patch we now get for y=6431.25 > > ru,-8pf18.2 y= 0.01 > > IMO this is the correct rounding. Does someone disagree with that? > > What tests should be removed/added from gfortran.dg/fmt_pf.f90? I think good. With round up, Any x, .01 >= x > 0.0 is .01 .1 >= x > 0.0 is .1