Prev: Other up-to-date Gfortran binary Windows installations besides equation.com
Next: Is this legal F2003?
From: Eli Osherovich on 20 Mar 2010 13:25 Is I understand correctly, 'size', and other array inquiry functions return integer of default type. What happens in case the result is too large to fit this type ? Thank you.
From: Richard Maine on 20 Mar 2010 13:41 Eli Osherovich <eli.osherovich(a)gmail.com> wrote: > Is I understand correctly, 'size', and other array inquiry functions > return integer of default type. > What happens in case the result is too large to fit this type ? See the optional kind= arguments to all the intrinsics for which that is an issue. That is an f2003 feature, added for this exact reason. I suspect that most f95 compilers have implemented this feature by now - at least those compilers that can support arrays large enough for it to be an issue. -- Richard Maine | Good judgment comes from experience; email: last name at domain . net | experience comes from bad judgment. domain: summertriangle | -- Mark Twain
From: Eli Osherovich on 21 Mar 2010 08:12
On Mar 20, 7:41 pm, nos...(a)see.signature (Richard Maine) wrote: > Eli Osherovich <eli.osherov...(a)gmail.com> wrote: > > Is I understand correctly, 'size', and other array inquiry functions > > return integer of default type. > > What happens in case the result is too large to fit this type ? > > See the optional kind= arguments to all the intrinsics for which that is > an issue. That is an f2003 feature, added for this exact reason. I > suspect that most f95 compilers have implemented this feature by now - > at least those compilers that can support arrays large enough for it to > be an issue. > > -- > Richard Maine | Good judgment comes from experience; > email: last name at domain . net | experience comes from bad judgment. > domain: summertriangle | -- Mark Twain Richard, Thank you very much. |