[J3] function references and optimization

Malcolm Cohen malcolm at nag-j.co.jp
Tue Oct 9 22:01:17 EDT 2018

Van Snyder asks:

> Does the permission in, under the rubric "Evaluation of
>numeric intrinsic operations" include statement functions?


I refer you to my earlier message:

> No matter what kind of function F is, if the processor “knows” that
> the value of the function is y, it need not evaluate the function
> reference at all.

This is nothing to do with statement functions and everything to do with knowing the value of a function reference.  Any expression or subexpression whose value is “known” need not be evaluated.




..............Malcolm Cohen, NAG Oxford/Tokyo.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20181010/5df50d69/attachment.html>

More information about the J3 mailing list