[Bug fortran/40675] sign intrinsic fails for value of 0.0

dominiq at lps dot ens dot fr gcc-bugzilla@gcc.gnu.org
Tue Jul 7 19:59:00 GMT 2009



------- Comment #5 from dominiq at lps dot ens dot fr  2009-07-07 19:59 -------
> OK, so I should instead be submitting a bug report for intel and g77 and 
> pgi.  gfortran is the only correct implementation?

The key point is: "If the processor cannot distinguish between positive and
negative real zero".
gfortran can do the distinction, but I would be very surprised that g77 can do
the distinction, so its behavior seems standard conforming.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40675



More information about the Gcc-bugs mailing list