For Programmers: Free Programming Magazines  


Home > Archive > Fortran > May 2004 > equivalent of integer*8 in fortran 90









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author equivalent of integer*8 in fortran 90
Kamaraju Kusumanchi

2004-05-15, 7:32 pm

Hi gurus,
I am reading the fftw3 manual and in the manual says that the plan
variable be declared with integer*8 (pg 49, section 6.1). I would like
to know if this is OK or should I go for integer(I4B) where

I4B = selected_int_kind(9)

Could you please advise upon which is better?

thanks in advance
raju
James Van Buskirk

2004-05-15, 11:31 pm

"Kamaraju Kusumanchi" <kk288@cornell.edu> wrote in message
news:c864md$e1g$1@news01.cit.cornell.edu...

> I am reading the fftw3 manual and in the manual says that the plan
> variable be declared with integer*8 (pg 49, section 6.1). I would like
> to know if this is OK or should I go for integer(I4B) where


> I4B = selected_int_kind(9)


> Could you please advise upon which is better?


It's not a question of better or worse, it's a question of
functioning at all. INTEGER*8 is much more likely to
correspond to selected_int_kind(18).

--
write(*,*) transfer((/17.392111325966148d0,6.5794487871554595D-85, &
6.0134700243160014d-154/),(/'x'/)); end


Donald Arseneau

2004-05-16, 1:31 am

"James Van Buskirk" <not_valid@comcast.net> writes:

> "Kamaraju Kusumanchi" <kk288@cornell.edu> wrote in message
> news:c864md$e1g$1@news01.cit.cornell.edu...
>
>
>
>
> It's not a question of better or worse, it's a question of
> functioning at all. INTEGER*8 is much more likely to
> correspond to selected_int_kind(18).


Of course "I4B" corresponds to (nonstandard) integer*4

Donald Arseneau asnd@triumf.ca








Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com