Sujet : Is there a way in Fortran to designate an integer value as integer*8 ?
De : lynnmcguire5 (at) *nospam* gmail.com (Lynn McGuire)
Groupes : comp.lang.fortranDate : 02. Oct 2024, 03:58:40
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdict2$339ak$1@dont-email.me>
User-Agent : Mozilla Thunderbird
I need many of my integers to be integer*8 in my port to 64 bit. In C/C++ code, I can say 123456L to mean a long long value, generally 64 bit. Is there a corresponding way to do this in Fortran or am I stuck with:
call xyz (1)
subroutine xyz (ivalue)
integer*8 ivalue
...
return end
must be:
integer*8 ivalue
...
ivalue = 1
call xyz (ivalue)
Thanks,
Lynn