Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

integer type returned by size

11 views
Skip to first unread message

Eli Osherovich

unread,
Mar 20, 2010, 1:25:42 PM3/20/10
to
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.

Richard Maine

unread,
Mar 20, 2010, 1:41:32 PM3/20/10
to
Eli Osherovich <eli.osh...@gmail.com> wrote:

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

Eli Osherovich

unread,
Mar 21, 2010, 8:12:21 AM3/21/10
to
On Mar 20, 7:41 pm, nos...@see.signature (Richard Maine) wrote:

Richard,
Thank you very much.

0 new messages