[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-users
Subject:    Re: strange gfortran problem
From:       Frédéric_Dubois <Frederic.Dubois () univ-montp2 ! fr>
Date:       2012-04-27 16:01:28
Message-ID: 4F9AC2D8.6080307 () univ-montp2 ! fr
[Download RAW message or body]

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@tacc.utexas.edu <mailto:eijkhout@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@gmail.com <mailto:allbery.b@gmail.com>
> wandering unix systems administrator (available)     (412) 475-9364 vm/sms
> 
> 
> 
> _______________________________________________
> macports-users mailing list
> macports-users@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

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic