Actually + and - .01 print as zero -
[dir:~/tests/gfortran] dir% gfortran -o print01 print01.f [dir:~/tests/gfortran] dir% print01 0.00 0.00 STOP 0 [dir:~/tests/gfortran] dir% cat print01.f program main x=-.01 y=.01 write(6,1000)x,y stop 1000 format (2f10.2) end -- Summary: gfortran prints -.01 incorrectly Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dir at lanl dot gov CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: powerpc-apple-darwin7.8.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20124