From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1094ba,5c187b9e0c78e85b X-Google-Attributes: gid1094ba,public X-Google-Thread: f57db,ee36987742d7d99d X-Google-Attributes: gidf57db,public X-Google-Thread: 111c93,5c187b9e0c78e85b X-Google-Attributes: gid111c93,public From: mccalpin@gmp246.austin.ibm.com (McCalpin) Subject: Re: SPEC CFP2000 Fortran declarations Date: 2000/06/20 Message-ID: <8iohoq$1i6o$1@ausnews.austin.ibm.com>#1/1 X-Deja-AN: 636928877 References: <8e29bb$7th$1@nnrp1.deja.com> <8invu8$1iak$1@ausnews.austin.ibm.com> Organization: IBM, Austin, Tx. Reply-To: mccalpin@austin.ibm.com Newsgroups: comp.lang.fortran,comp.os.linux.alpha,comp.benchmarks In article , Jan Vorbrueggen wrote: >mccalpin@gmp246.austin.ibm.com (McCalpin) writes: > >> This is certainly perverse, since the standards committee went out of its >> way to both: >> * declare that specific values for KIND were not portable >> * provide a mechanism to generate values for KIND in a portable way >> >> Now it is true that the mechanism provided is verbose, but it is portable. >> Just go look up SELECTED_REAL_KIND() and SELECTED_INT_KIND(). > >Who do you think is perverse - me, or the SPEC CPU subcommittee? Just a >request for clarification... As a member of the SPEC CPU committee, I have first-hand experience in the perverseness of this particular group. (Though I was not on the committee when this issue was being worked on.) "Perverse" was probably not the best word. The standards committee that created the Fortran90 language (X3J3) worked really hard to create a portable way of specifying precision. They recognized the dangers of "partial standardization" (which is pretty much what has happened), but were unable to craft a set of rules that would discourage it strongly enough.... I expected that vendors would also recognize those dangers and try harder to make the new utilities easy to use. The present situation encourages people to use non-standard features without realizing that they are non- standard, and I suspect that in the long run this is more expensive for everyone.... So, to answer your question, it is the vendors who are perverse for exposing implementation-dependent constants to the customers and thus implying that there is some degree of portability in the use of these constants. My own employer is guilty of this as well, at least in the XLF Fortran v6.1 Reference Manual that I just looked this up in.... -- John D. McCalpin, Ph.D. mccalpin@austin.ibm.com Senior Scientist IBM POWER Microprocessor Development "I am willing to make mistakes as long as someone else is willing to learn from them."