strange gfortran problem

Frédéric Dubois Frederic.Dubois at univ-montp2.fr
Fri Apr 27 09:01:28 PDT 2012


Hello,
I don't understand the last comment of this mail.
Following IBM link its said:


        Examples

SELECTED_INT_KIND (9) has the value 4, signifying that an INTEGER with 
kind type 4 can represent all values from 10^-9 to 10^9 .



Regards

Le 27/04/12 08:02, Brandon Allbery a écrit :
> On Fri, Apr 27, 2012 at 01:14, Victor Eijkhout 
> <eijkhout at tacc.utexas.edu <mailto:eijkhout at tacc.utexas.edu>> wrote:
>
>     On Apr 26, 2012, at 11:22 PM, Jason Swails wrote:
>     > The problem is that the behavior you are seeing is allowed under
>     the Fortran standard
>
>     I'll take your word for it. I ran into this when I compiling some
>     software that used kind(5) as a synonym for INTEGER*4 (after all,
>     32k is 5 digits) and such, and I was getting type errors.
>
>
> IBM claims: 
> http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlf101l.doc%2Fxlflr%2Fintkind.htm
>
> *SELECTED_INT_KIND(R)*
>
>     Returns a value of the kind type parameter of an integer data type 
> that represents all integer values n with -10^R < n < 10^R .
>
> Neither -99,999 nor 99,999 fit in INTEGER*4.
>
> -- 
>
> brandon s allbery allbery.b at gmail.com <mailto:allbery.b at gmail.com>
> wandering unix systems administrator (available)     (412) 475-9364 vm/sms
>
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

-- 
Frédéric Dubois, Eng, PhD
LMGC - UMR CNRS 5508
Université de Montpellier 2, cc 048
Place Eugène Bataillon
34095 Montpellier Cedex 05
Tel 33/0 467144984 - Fax 33/0 467143923
http://www.lmgc.univ-montp2.fr/~dubois
http://www.lmgc.univ-montp2.fr/~dubois/LMGC90



More information about the macports-users mailing list