Re: busting sp datatypes
In article <19u1j7r8by3vv.dlg@xxxxxxxxxxxxxxx>,
Ron Ford <ron@xxxxxxxxxxxxxxx> wrote:
I think this is a counterexample to the notion that 4 might be the default
int for conforming implementations.
Yes, integer kind 4 is definitely not specified by the fortran
standard in any way, it is not even required to correspond to any
integer kind at all. That is what the selected_xxx_kind()
intrinsics are for.
$.02 -Ron Shepard
.
Relevant Pages
- Re: Transfer and variables that dont use all their storage space.
... Now the rule is that x%as_int turns into an integer KIND that's ... COMPLEX variables cannot use this syntax directly since I ... If Fortran had strings of types other than character, ... strings were considered to be a variety of array rather than ... (comp.lang.fortran) - Re: Integer types in format statements
... I can see nothing in the standard that indicates that the ... > default integer kind of the processor. ... Others have commented about compilers that have limits lower than this. ... (comp.lang.fortran) - Re: Integer types in format statements
... Toby White wrote: ... > Am I guaranteed that replacing '9999999999' with the ... I can see nothing in the standard that indicates that the ... > default integer kind of the processor. ... (comp.lang.fortran) - Re: Question about KIND
... Note that this will give you a 64-bit integer kind if the compiler ... but you cannot do this with a specification expression to define the ... There are standard ways to achieve this using the ... a separate module and USE that module wherever it is necessary. ... (comp.lang.fortran) - Re: Integer types in format statements
... the form of integers in a format ... > I can see nothing in the standard that indicates that the ... > default integer kind of the processor. ... > not carry a kind specifier - but that might equally suggest that they are ... (comp.lang.fortran) |
|