Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Premature optimization is the root of all evil. -- D. E. Knuth


devel / comp.lang.fortran / Re: Deallocate problem

SubjectAuthor
* Deallocate problemdb
+- Re: Deallocate problemJohn
+* Re: Deallocate problemRobin Vowels
|`* Re: Deallocate problemdb
| +- Re: Deallocate problemgah4
| `* Re: Deallocate problemRobin Vowels
|  `* Re: Deallocate problemdb
|   +* Re: Deallocate problemRon Shepard
|   |`* Re: Deallocate problemgah4
|   | `* Re: Deallocate problemRobin Vowels
|   |  `* Re: Deallocate problemjfh
|   |   +- Re: Deallocate problemgah4
|   |   `* Re: Deallocate problemRobin Vowels
|   |    +* Re: Deallocate problemRon Shepard
|   |    |+- Re: Deallocate problemGary Scott
|   |    |`* Re: Deallocate problemRobin Vowels
|   |    | `* Re: Deallocate problemjfh
|   |    |  `* Re: Deallocate problemgah4
|   |    |   `* Re: Deallocate problemThomas Koenig
|   |    |    `- Re: Deallocate problemRobin Vowels
|   |    +* Re: Deallocate problemjfh
|   |    |`- Re: Deallocate problemjfh
|   |    `- Re: Deallocate problemgah4
|   `* Re: Deallocate problemLouis Krupp
|    `* Re: Deallocate problemdb
|     `- Re: Deallocate problemLouis Krupp
+- Re: Deallocate problemFortranFan
`- Re: Deallocate problemLouis Krupp

Pages:12
Re: Deallocate problem

<19581186-83ad-4dbf-8ee0-e22d62cd5a23n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=2920&group=comp.lang.fortran#2920

  copy link   Newsgroups: comp.lang.fortran
X-Received: by 2002:ad4:5aaf:0:b0:4a8:a817:e00d with SMTP id u15-20020ad45aaf000000b004a8a817e00dmr15650647qvg.18.1663605260835;
Mon, 19 Sep 2022 09:34:20 -0700 (PDT)
X-Received: by 2002:ac8:57d2:0:b0:35c:df7b:4454 with SMTP id
w18-20020ac857d2000000b0035cdf7b4454mr8610260qta.196.1663605260705; Mon, 19
Sep 2022 09:34:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.fortran
Date: Mon, 19 Sep 2022 09:34:20 -0700 (PDT)
In-Reply-To: <ced0fa6e-b483-466f-a62a-4d737f772397n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:696f:b60a:dc48:b6eb;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:696f:b60a:dc48:b6eb
References: <tfkp70$1ucf3$1@dont-email.me> <a1aa6852-cdd1-4b09-84d4-18a6e63bffcbn@googlegroups.com>
<tfnd1h$291l0$1@dont-email.me> <54ea6c9c-48b1-4e7f-8a80-a07366a6d812n@googlegroups.com>
<tfsc4a$2ten9$1@dont-email.me> <1EmUK.25619$0qy7.14525@fx40.iad>
<c0bf1204-f374-429c-8f0a-699f05eb8bfdn@googlegroups.com> <68aee1d5-33f4-417f-bece-5fbc2dc488c7n@googlegroups.com>
<324e6283-0f52-43bd-8fe9-09c95fed3412n@googlegroups.com> <fe18dcad-4382-435f-8cc5-015352b9a9b4n@googlegroups.com>
<QCHVK.444040$Ny99.120267@fx16.iad> <dcab170e-97c8-4b9f-9a4e-4ef70750937en@googlegroups.com>
<ced0fa6e-b483-466f-a62a-4d737f772397n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <19581186-83ad-4dbf-8ee0-e22d62cd5a23n@googlegroups.com>
Subject: Re: Deallocate problem
From: gah4@u.washington.edu (gah4)
Injection-Date: Mon, 19 Sep 2022 16:34:20 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2634
 by: gah4 - Mon, 19 Sep 2022 16:34 UTC

On Sunday, September 18, 2022 at 10:43:36 PM UTC-7, jfh wrote:

(snip)

> I was not surprised that all three of those compilers print 127 four
> times with this program, and they are standard-conforming in that
> respect because none of those compilers has a 4-bit integer type.
> My revised 4-line program:
> integer, parameter:: ineg = selected_int_kind(-1), i0 = selected_int_kind(0),&
> i1 = selected_int_kind(1), i2 = selected_int_kind(2)
> print *, huge(0_ineg),huge(0_i0),huge(0_i1),huge(0_i2)
> end program

And especially that allows, in case anyone implemented it, a 4 bit type
that would not allow for selected_int_kind(1).

It would be nice to have a selector that allowed selecting the base
of the computation. (Not necessarily the base of the selected type.)

There could be machines with types that could not be distinguished
by whole decimal digits.

Re: Deallocate problem

<tgbj9n$aqf1$2@newsreader4.netcologne.de>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=2923&group=comp.lang.fortran#2923

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-1257-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoenig@netcologne.de (Thomas Koenig)
Newsgroups: comp.lang.fortran
Subject: Re: Deallocate problem
Date: Tue, 20 Sep 2022 05:32:39 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <tgbj9n$aqf1$2@newsreader4.netcologne.de>
References: <tfkp70$1ucf3$1@dont-email.me>
<a1aa6852-cdd1-4b09-84d4-18a6e63bffcbn@googlegroups.com>
<tfnd1h$291l0$1@dont-email.me>
<54ea6c9c-48b1-4e7f-8a80-a07366a6d812n@googlegroups.com>
<tfsc4a$2ten9$1@dont-email.me> <1EmUK.25619$0qy7.14525@fx40.iad>
<c0bf1204-f374-429c-8f0a-699f05eb8bfdn@googlegroups.com>
<68aee1d5-33f4-417f-bece-5fbc2dc488c7n@googlegroups.com>
<324e6283-0f52-43bd-8fe9-09c95fed3412n@googlegroups.com>
<fe18dcad-4382-435f-8cc5-015352b9a9b4n@googlegroups.com>
<QCHVK.444040$Ny99.120267@fx16.iad>
<dcab170e-97c8-4b9f-9a4e-4ef70750937en@googlegroups.com>
<ced0fa6e-b483-466f-a62a-4d737f772397n@googlegroups.com>
<19581186-83ad-4dbf-8ee0-e22d62cd5a23n@googlegroups.com>
Injection-Date: Tue, 20 Sep 2022 05:32:39 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-1257-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd7:1257:0:7285:c2ff:fe6c:992d";
logging-data="354785"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Tue, 20 Sep 2022 05:32 UTC

gah4 <gah4@u.washington.edu> schrieb:
> On Sunday, September 18, 2022 at 10:43:36 PM UTC-7, jfh wrote:
>
> (snip)
>
>> I was not surprised that all three of those compilers print 127 four
>> times with this program, and they are standard-conforming in that
>> respect because none of those compilers has a 4-bit integer type.
>> My revised 4-line program:
>
>> integer, parameter:: ineg = selected_int_kind(-1), i0 = selected_int_kind(0),&
>> i1 = selected_int_kind(1), i2 = selected_int_kind(2)
>> print *, huge(0_ineg),huge(0_i0),huge(0_i1),huge(0_i2)
>> end program
>
> And especially that allows, in case anyone implemented it, a 4 bit type
> that would not allow for selected_int_kind(1).
>
> It would be nice to have a selector that allowed selecting the base
> of the computation. (Not necessarily the base of the selected type.)

For real types, you can select the radix with the corresponding
argument to SELECTED_REAL_KIND, if the hardware allows for it.
I suppose this is for decimal floats.

> There could be machines with types that could not be distinguished
> by whole decimal digits.

Real or complex arguments to SELECTED_INT_KIND, anybody? A base
of 2i sounds really promising (and Knuth proposed it, so it
must be good :-)

Re: Deallocate problem

<54c15763-22b5-4981-989a-6c4ced9656a6n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=2924&group=comp.lang.fortran#2924

  copy link   Newsgroups: comp.lang.fortran
X-Received: by 2002:a05:622a:255:b0:35c:f299:5aaf with SMTP id c21-20020a05622a025500b0035cf2995aafmr4229387qtx.578.1663656206912;
Mon, 19 Sep 2022 23:43:26 -0700 (PDT)
X-Received: by 2002:ac8:578c:0:b0:35c:d9fe:98f7 with SMTP id
v12-20020ac8578c000000b0035cd9fe98f7mr13284402qta.360.1663656206693; Mon, 19
Sep 2022 23:43:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.fortran
Date: Mon, 19 Sep 2022 23:43:26 -0700 (PDT)
In-Reply-To: <tgbj9n$aqf1$2@newsreader4.netcologne.de>
Injection-Info: google-groups.googlegroups.com; posting-host=202.67.103.232; posting-account=S_MdrwoAAAD7T2pxG2e393dk6y0tc0Le
NNTP-Posting-Host: 202.67.103.232
References: <tfkp70$1ucf3$1@dont-email.me> <a1aa6852-cdd1-4b09-84d4-18a6e63bffcbn@googlegroups.com>
<tfnd1h$291l0$1@dont-email.me> <54ea6c9c-48b1-4e7f-8a80-a07366a6d812n@googlegroups.com>
<tfsc4a$2ten9$1@dont-email.me> <1EmUK.25619$0qy7.14525@fx40.iad>
<c0bf1204-f374-429c-8f0a-699f05eb8bfdn@googlegroups.com> <68aee1d5-33f4-417f-bece-5fbc2dc488c7n@googlegroups.com>
<324e6283-0f52-43bd-8fe9-09c95fed3412n@googlegroups.com> <fe18dcad-4382-435f-8cc5-015352b9a9b4n@googlegroups.com>
<QCHVK.444040$Ny99.120267@fx16.iad> <dcab170e-97c8-4b9f-9a4e-4ef70750937en@googlegroups.com>
<ced0fa6e-b483-466f-a62a-4d737f772397n@googlegroups.com> <19581186-83ad-4dbf-8ee0-e22d62cd5a23n@googlegroups.com>
<tgbj9n$aqf1$2@newsreader4.netcologne.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <54c15763-22b5-4981-989a-6c4ced9656a6n@googlegroups.com>
Subject: Re: Deallocate problem
From: robin.vowels@gmail.com (Robin Vowels)
Injection-Date: Tue, 20 Sep 2022 06:43:26 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3187
 by: Robin Vowels - Tue, 20 Sep 2022 06:43 UTC

On Tuesday, September 20, 2022 at 3:32:42 PM UTC+10, Thomas Koenig wrote:
> gah4 <ga...@u.washington.edu> schrieb:
> > On Sunday, September 18, 2022 at 10:43:36 PM UTC-7, jfh wrote:
> >
> > (snip)
> >
> >> I was not surprised that all three of those compilers print 127 four
> >> times with this program, and they are standard-conforming in that
> >> respect because none of those compilers has a 4-bit integer type.
> >> My revised 4-line program:
> >
> >> integer, parameter:: ineg = selected_int_kind(-1), i0 = selected_int_kind(0),&
> >> i1 = selected_int_kind(1), i2 = selected_int_kind(2)
> >> print *, huge(0_ineg),huge(0_i0),huge(0_i1),huge(0_i2)
> >> end program
> >
> > And especially that allows, in case anyone implemented it, a 4 bit type
> > that would not allow for selected_int_kind(1).
> >
> > It would be nice to have a selector that allowed selecting the base
> > of the computation. (Not necessarily the base of the selected type.)
> For real types, you can select the radix with the corresponding
> argument to SELECTED_REAL_KIND, if the hardware allows for it.
> I suppose this is for decimal floats.
> > There could be machines with types that could not be distinguished
> > by whole decimal digits.
> Real or complex arguments to SELECTED_INT_KIND, anybody?
..
PL/I has had COMPLEX integer (as well as COMPLEX FLOAT)
SINCE 1966.

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor