(j3.2006) Are IEEE inquiry functions actually inquiry functions

Richard hendrickson dick.hendrickson
Fri Nov 8 17:38:04 EST 2013


This question came up yesterday on c.l.f

"The Fortran 2008 standard defines an inquiry function as an 'intrinsic
function, or function in an intrinsic module, whose result depends on the
properties of one or more of its arguments instead of their values'. I wonder: by that definition, how can the IEEE_SUPPORT_HALTING(FLAG)
function from the IEEE_EXCEPTIONS intrinsic module be an inquiry
function? Its result depends on the value of FLAG, not its properties. Am I overlooking something? Is this a defect of the standard?"

I think the question also applies to
IEEE_support_flag
IEEE_support_halting
IEEE_support_rounding
c_associated
c_funloc
c_loc 
where the result depends on argument value.

Should this be an interp?  Or is it just editorial

Dick Hendrickson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.j3-fortran.org/pipermail/j3/attachments/20131108/159be277/attachment.html 



More information about the J3 mailing list