iso_fortran_env
Richard E Maine
Richard.Maine@nasa.gov
Wed Aug 30 04:35:00 GMT 2006
On Aug 29, 2006, at 2:35 PM, Brooks Moses wrote:
> Janne Blomqvist wrote:
>> Steve Kargl wrote:
>>> Everthing above matches gfortran with the possible exception of
>>> File_Storage_Size and Numeric_Storage_Size. I don't F2003
>>> handy. What do these values means?
>> IIRC file storage size is the number of bits per storage element.
>> E.g. when you do a inquire(iolength) you get the answer as an
>> integer multiple of the file storage size.
>
> No -- when you do an INQUIRE(IOLENGTH=), you get the answer in
> units of the file storage unit. If you want the answer in units of
> bits, you have to multiply it by file_storage_size yourself.
I think the two of you just said the same thing in slightly different
words. You probably misread what Janne wrote.
Back to the original question. I think that the values are probably
right for most gfortran ports, but it might depend on the particular
port. I know that g95 has some 64-bit ports where the numeric storage
unit is 64 bits instead of 32. I forget whether gfortran has similar
ports, but it seems plausible. I also forget whether there is a
command-line switch like some compilers have for that.
--
Richard Maine | Good judgment comes from experience;
Richard.Maine@nasa.gov | experience comes from bad judgment.
| -- Mark Twain
More information about the Fortran
mailing list