This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug libfortran/33225] [4.3 regression] Missing last digit is some formatted output


On 29 Aug 2007 22:18:58 -0000, dominiq at lps dot ens dot fr
<gcc-bugzilla@gcc.gnu.org> wrote:

> FM406 gives:
>
> ...
>                  COMPUTED=            -0.0
>                  CORRECT=   0.0

Actually this is expected if you did not supply -fno-sign-zero or
-std=f95 as the default is to print negative 0 as -0.0 as in the 2003
Fortran standard while F95 says don't print the negative sign for
-0.0.

Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]