From owner-sc22wg5@open-std.org Wed Jul 14 18:08:51 2010 Return-Path: X-Original-To: sc22wg5-dom8 Delivered-To: sc22wg5-dom8@www2.open-std.org Received: by www2.open-std.org (Postfix, from userid 521) id E75C0C178E4; Wed, 14 Jul 2010 18:08:51 +0200 (CEST) X-Original-To: sc22wg5@open-std.org Delivered-To: sc22wg5@open-std.org Received: from e9.ny.us.ibm.com (e9.ny.us.ibm.com [32.97.182.139]) by www2.open-std.org (Postfix) with ESMTP id D9A50C178DF for ; Wed, 14 Jul 2010 18:08:49 +0200 (CEST) Received: from d01relay03.pok.ibm.com (d01relay03.pok.ibm.com [9.56.227.235]) by e9.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o6EFqifE018459 for ; Wed, 14 Jul 2010 11:52:44 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay03.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o6EG8ilG107814 for ; Wed, 14 Jul 2010 12:08:44 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o6EG8eM3026229 for ; Wed, 14 Jul 2010 13:08:40 -0300 Received: from d25ml04.torolab.ibm.com (d25ml04.torolab.ibm.com [9.26.6.105]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o6EG8en8026220; Wed, 14 Jul 2010 13:08:40 -0300 In-Reply-To: <4C3DE016.80305@cray.com> References: <20100714154320.CE3BBC178DF@www2.open-std.org> <4C3DE016.80305@cray.com> To: longb@cray.com, fortran standards email list for J3 Cc: fortran standards email list for J3 , j3-bounces@j3-fortran.org, WG5 MIME-Version: 1.0 Subject: Re: (j3.2006) (SC22WG5.4295) Fw: a question about IS CONTIGUOUS X-KeepSent: 8033F702:031C221B-85257760:0058976C; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.0.1 HF105 April 10, 2008 Message-ID: From: Jim Xia Date: Wed, 14 Jul 2010 12:08:39 -0400 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 8.0.1|February 07, 2008) at 07/14/2010 12:08:40, Serialize complete at 07/14/2010 12:08:40 Content-Type: multipart/alternative; boundary="=_alternative 0058ACD885257760_=" Sender: owner-sc22wg5@open-std.org Precedence: bulk This is a multipart message in MIME format. --=_alternative 0058ACD885257760_= Content-Type: text/plain; charset="US-ASCII" j3-bounces@j3-fortran.org wrote on 07/14/2010 12:04:38 PM: > [image removed] > > Re: (j3.2006) (SC22WG5.4295) Fw: a question about IS CONTIGUOUS > > Bill Long > > to: > > fortran standards email list for J3 > > 07/14/2010 12:04 PM > > Sent by: > > j3-bounces@j3-fortran.org > > Cc: > > WG5 > > Please respond to longb, fortran standards email list for J3 > > 10-007:[122:6] says "An array section is an array." Seems clear enough > to not require an interp. > Then, what would be the return values of these two function calls? > IS_CONTIGUOUS (array(1::2)) > IS_CONTIGUOUS (array([1, 3, 5, 2])) Jim Xia XL Fortran Compiler Test IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7 Phone (905) 413-3444 Tie-line 313-3444 email: jimxia@ca.ibm.com D2/YF7/8200 /MKM http://www.ibm.com/software/awdtools/fortran/xlfortran > Cheers, > Bill > > > Jim Xia wrote: > > > > Jim Xia > > > > XL Fortran Compiler Test > > IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7 > > Phone (905) 413-3444 Tie-line 313-3444 > > email: jimxia@ca.ibm.com > > D2/YF7/8200 /MKM > > > > http://www.ibm.com/software/awdtools/fortran/xlfortran > > ----- Forwarded by Jim Xia/Toronto/IBM on 07/14/2010 11:34 AM ----- > > From: Jim Xia/Toronto/IBM > > To: j3-bounces@j3-fortran.org > > Date: 07/14/2010 11:16 AM > > Subject: a question about IS CONTIGUOUS > > > > > > ------------------------------------------------------------------------ > > > > > > I think the description on IS_CONTIGUOUS intrinsic has some problems. > > The standard says > > > > > > > > > > The question is: is array sections allowed to be tested by this > > intrinsic directly? > > > > For example, what will the following two queries return: > > > > IS_CONTIGUOUS (array(1::2)) > > IS_CONTIGUOUS (array([1, 3, 5, 2])) > > > > Should this be an interp? > > > > > > Jim Xia > > > > XL Fortran Compiler Test > > IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7 > > Phone (905) 413-3444 Tie-line 313-3444 > > email: jimxia@ca.ibm.com > > D2/YF7/8200 /MKM > > > > http://www.ibm.com/software/awdtools/fortran/xlfortran > > > > -- > Bill Long longb@cray.com > Fortran Technical Support & voice: 651-605-9024 > Bioinformatics Software Development fax: 651-605-9142 > Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101 > > > _______________________________________________ > J3 mailing list > J3@j3-fortran.org > http://j3-fortran.org/mailman/listinfo/j3 --=_alternative 0058ACD885257760_= Content-Type: text/html; charset="US-ASCII"
j3-bounces@j3-fortran.org wrote on 07/14/2010 12:04:38 PM:

> [image removed]

>
> Re: (j3.2006) (SC22WG5.4295) Fw: a question about IS CONTIGUOUS

>
> Bill Long

>
> to:

>
> fortran standards email list for J3

>
> 07/14/2010 12:04 PM

>
> Sent by:

>
> j3-bounces@j3-fortran.org

>
> Cc:

>
> WG5

>
> Please respond to longb, fortran standards email list for J3

>
> 10-007:[122:6] says "An array section is an array."   Seems clear enough
> to not require an interp.
>

Then, what would be the return values of these two function calls?

>     IS_CONTIGUOUS (array(1::2))
>     IS_CONTIGUOUS (array([1, 3, 5, 2]))


Jim Xia

XL Fortran Compiler Test
IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7
Phone (905) 413-3444  Tie-line 313-3444
email: jimxia@ca.ibm.com
D2/YF7/8200 /MKM

http://www.ibm.com/software/awdtools/fortran/xlfortran

> Cheers,
> Bill
>
>
> Jim Xia wrote:
> >
> > Jim Xia
> >
> > XL Fortran Compiler Test
> > IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7
> > Phone (905) 413-3444  Tie-line 313-3444
> > email: jimxia@ca.ibm.com
> > D2/YF7/8200 /MKM
> >
> >
http://www.ibm.com/software/awdtools/fortran/xlfortran
> > ----- Forwarded by Jim Xia/Toronto/IBM on 07/14/2010 11:34 AM -----
> > From:    Jim Xia/Toronto/IBM
> > To:    j3-bounces@j3-fortran.org
> > Date:    07/14/2010 11:16 AM
> > Subject:    a question about IS CONTIGUOUS
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > I think the description on IS_CONTIGUOUS intrinsic has some problems.
> >  The standard says
> >
> >
> >
> >
> > The question is: is array sections allowed to be tested by this
> > intrinsic directly?
> >
> > For example, what will the following two queries return:
> >
> >     IS_CONTIGUOUS (array(1::2))
> >     IS_CONTIGUOUS (array([1, 3, 5, 2]))
> >
> > Should this be an interp?
> >
> >
> > Jim Xia
> >
> > XL Fortran Compiler Test
> > IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7
> > Phone (905) 413-3444  Tie-line 313-3444
> > email: jimxia@ca.ibm.com
> > D2/YF7/8200 /MKM
> >
> >
http://www.ibm.com/software/awdtools/fortran/xlfortran
> >
>
> --
> Bill Long                                           longb@cray.com
> Fortran Technical Support    &                 voice: 651-605-9024
> Bioinformatics Software Development            fax:   651-605-9142
> Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101
>
>
> _______________________________________________
> J3 mailing list
> J3@j3-fortran.org
>
http://j3-fortran.org/mailman/listinfo/j3
--=_alternative 0058ACD885257760_=--