| Deutsch English Français Italiano |
|
<vdict2$339ak$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lynn McGuire <lynnmcguire5@gmail.com>
Newsgroups: comp.lang.fortran
Subject: Is there a way in Fortran to designate an integer value as integer*8
?
Date: Tue, 1 Oct 2024 21:58:40 -0500
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <vdict2$339ak$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 02 Oct 2024 04:58:43 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3d90e21bee3cbaf58ec93459878c107b";
logging-data="3253588"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19dCr2gHzxgqNOe9eqssW68Cw89qy13+oo="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:q13cb0esN48VptVUM3ddA9eqfvY=
Content-Language: en-US
Bytes: 1371
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