(j3.2006) (SC22WG5.5355) [ukfortran] From a colleague
Tue Oct 28 15:27:52 EDT 2014
On Oct 28, 2014, at 2:20 PM, Toon Moene <toon at moene.org> wrote:
> On 10/28/2014 06:57 PM, Bill Long wrote:
>> It was not clear to me whether the original code was branching based on the value of a REAL or an INTEGER expression. In the integer case, there is no question.
> I hope you are right that "there is no question" on arithmetic if when
> interpreting it Fortran 95 - wise.
> Is -0 greater than, equal to or less than +0 ?
equal to. 184.108.40.206p1.
The integer type includes a zero value, which is considered to be neither negative nor positive. The value of a signed integer zero is the same as the value of an unsigned integer zero.
> Kind regards,
> Toon Moene - e-mail: toon at moene.org - phone: +31 346 214290
> Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
> At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
> Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news
> J3 mailing list
> J3 at mailman.j3-fortran.org
Bill Long longb at cray.com
Fortran Technical Suport & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101
More information about the J3