(j3.2006) Question about DIM
Mon Jan 11 11:12:35 EST 2016
Wow - I?d never seen that one before either! (Of course, having only been alive for as many years as Bill has used the language, this is not so surprising.)
It might even make some sections of my code a bit clearer if it were spelled ?Heaviside?.
> On Jan 11, 2016, at 8:49 AM, Bill Long <longb at cray.com> wrote:
> Perhaps a more interesting question is whether this relic is actually used? I can?t remember ever seeing it, though with only 48 years of Fortran programming experience, I?m a relative newcomer. :)
> If there was any motivation to update DIM, more interesting questions would be
> 1) If X-Y is -0.0, is the result 0.0 or -0.0?
> 2) If X-Y is NaN, what is the result?
> On Jan 10, 2016, at 11:32 PM, Van Snyder <van.snyder at jpl.nasa.gov> wrote:
>> Does anybody remember a compelling reason why the arguments of DIM are
>> required to be of the same type and kind, whereas, e.g., the arguments
>> of DOT_PRODUCT can be any numeric type and kind with the type and kind
>> of the result determined as for the product VECTOR_A*VECTOR_B?
>> Why not allow X and Y to be either integer or real, of any kind,
>> independently, with the type and kind of the result as if for X-Y as
>> specified in 18.104.22.168?
>> J3 mailing list
>> J3 at mailman.j3-fortran.org
> Bill Long longb at cray.com
> Fortran Technical Support & voice: 651-605-9024
> Bioinformatics Software Development fax: 651-605-9142
> Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101
> J3 mailing list
> J3 at mailman.j3-fortran.org
Thomas Clune, Ph. D. <Thomas.L.Clune at nasa.gov>
Software Infrastructure Team Lead
Global Modeling and Assimilation Office, Code 610.1
MS 610.1 B33-C128
Greenbelt, MD 20771
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the J3