(j3.2006) Four IEEE procedures ought to be impure

Bill Long longb
Mon Jul 28 15:11:23 EDT 2008



Van Snyder wrote:
> The four IEEE procedures that aren't allowed in DO CONCURRENT 
> constructs, viz. IEEE_GET_FLAG, IEEE_GET_HALTING_MODE, IEEE_SET_FLAG and 
> IEEE_SET_HALTING_MODE, either have side effects that are in essence 
> either change to a global variable or a save variable, or depend upon 
> one.  As such, they ought to be impure elemental (now that we have that 
> term).
>
>   
Two not elemental now, but rather "Pure subroutine.".  Probably easier 
to just remove Pure for those.

However, that would seem to make a PURE procedure that currently calls 
one of these routines suddenly non-conforming.   Are you suggesting an 
Interp that will change F03?

Cheers,
Bill


-- 
Bill Long                                   longb at cray.com
Fortran Technical Support    &              voice: 651-605-9024
Bioinformatics Software Development         fax:   651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120

            




More information about the J3 mailing list