Re: Trying to use a logical as an array index
- From: "James Giles" <jamesgiles@xxxxxxxxxxxxxxxx>
- Date: Sun, 13 Jul 2008 20:52:42 GMT
Charles Coldwell wrote:
...
IAND(-1,NOT(transfer(.TRUE._C_BOOL,1)))
and
NOT(transfer(.TRUE._C_BOOL,1))
He mentioned before that he was having trouble getting the
compiler not to just optimize out his fantasy "tests" and that
he sometimes has to add additional operations to the expressions
to prevent that. This seems to be an example. That is fails
to prove any of the things he thinks it proves is another story.
--
J. Giles
"I conclude that there are two ways of constructing a software
design: One way is to make it so simple that there are obviously
no deficiencies and the other way is to make it so complicated
that there are no obvious deficiencies." -- C. A. R. Hoare
"Simplicity is prerequisite for reliability" -- E. W. Dijkstra
.
- References:
- Trying to use a logical as an array index
- From: ferrad
- Re: Trying to use a logical as an array index
- From: ferrad
- Re: Trying to use a logical as an array index
- From: dpb
- Re: Trying to use a logical as an array index
- From: James Van Buskirk
- Re: Trying to use a logical as an array index
- From: dpb
- Re: Trying to use a logical as an array index
- From: James Van Buskirk
- Re: Trying to use a logical as an array index
- From: James Giles
- Re: Trying to use a logical as an array index
- From: James Van Buskirk
- Re: Trying to use a logical as an array index
- From: James Giles
- Re: Trying to use a logical as an array index
- From: Charles Coldwell
- Trying to use a logical as an array index
- Prev by Date: Re: Trying to use a logical as an array index
- Next by Date: Re: defined operator & assignment speed & memory usage problem
- Previous by thread: Re: Trying to use a logical as an array index
- Next by thread: Re: Trying to use a logical as an array index
- Index(es):
Relevant Pages
|