------- Comment #11 from dominiq at lps dot ens dot fr 2009-10-01 20:18 -------
There is probably a bug with round to nearest for values below 1:
print '(RN, 4F10.3)', 0.0625, 0.1875
print '(RN, 4F10.2)', 0.125, 0.375, 1.125, 1.375
print '(RN, 4F10.1)', 0.25, 0.75, 1.25, 1.75
print '(RN, 4F10.0)', 0.5, 1.5, 2.5, 3.5
end
gives
0.063 0.188
0.13 0.38 1.12 1.38
0.3 0.8 1.2 1.8
1. 2. 2. 4.
ifort gives (what I was expecting):
0.062 0.188
0.12 0.38 1.12 1.38
0.2 0.8 1.2 1.8
0. 2. 2. 4.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35862