------- Comment #3 from kargl at gcc dot gnu dot org  2006-10-24 15:25 -------
(In reply to comment #2)
> In my simple view as a physicist the minus sign is an integral part of the
> number and not an operation on it, but then I didn't have a formal computer
> science education. As a gfortran programmer you have a choice here I would 
> say.
> 

You'll find that I'm a physicist, too.  I have no formal CS training
other than reading books and the Fortran standard.  It does not matter
if you consider the minus a part of the number.  It is a unary minus
operation according to the Fortran Standard, and that is how gfortran
implements its behavior.  You are relying on nonportable processor
dependent behavior.  I've told you how to make your code portable.  It
is up to you to use the advice or ignore it.

BTW, http://gcc.gnu.org/ml/fortran/2006-08/msg00371.html


-- 


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

Reply via email to