For Programmers: Free Programming Magazines  


Home > Archive > Fortran > December 2005 > Re: Kind of NOT integer constant









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Kind of NOT integer constant
Steven G. Kargl

2005-12-17, 7:01 pm

In article <1h7phu6.9zu0ck1ya4snwN%nospam@see.signature>,
nospam@see.signature (Richard Maine) writes:
> rofi <rofi@ya.com> wrote:
>
>
> If A is of default integer kind and that gives a result any different
> from
>
> A = NOT(0)
>
> then the processor is violating the standard... which I had more or less
> concluded already. The result of NOT deepnds only on the kind and value
> of its argument. It is not allowed to depend onwhether its argument is a
> variabel or literal. Nor is the kind of the literal 0 allowed to depend
> on context.


Don't worry. I fixed the offending code last night, and will
commit my patch to the source tree in a few moments.

--
Steve
http://troutmask.apl.washington.edu/~kargl/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com