Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Why did the Roman Empire collapse? What is the Latin for office automation?


devel / comp.lang.fortran / Re: Option to cut off digits in old Fortran compiler

SubjectAuthor
* Option to cut off digits in old Fortran compilerThomas Koenig
+* Re: Option to cut off digits in old Fortran compilergah4
|`- Re: Option to cut off digits in old Fortran compilerGary Klimowicz
`* Re: Option to cut off digits in old Fortran compilergah4
 `- Re: Option to cut off digits in old Fortran compilerjfh

1
Option to cut off digits in old Fortran compiler

<te3dnl$9s0$1@newsreader4.netcologne.de>

  copy mid

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

  copy link   Newsgroups: comp.lang.fortran alt.folklore.computers
Followup: alt.folklore.computers
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-4e56-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoenig@netcologne.de (Thomas Koenig)
Newsgroups: comp.lang.fortran,alt.folklore.computers
Subject: Option to cut off digits in old Fortran compiler
Followup-To: alt.folklore.computers
Date: Tue, 23 Aug 2022 20:36:05 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <te3dnl$9s0$1@newsreader4.netcologne.de>
Injection-Date: Tue, 23 Aug 2022 20:36:05 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-4e56-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd7:4e56:0:7285:c2ff:fe6c:992d";
logging-data="10112"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Tue, 23 Aug 2022 20:36 UTC

[x-post, f'up]

When I worked on a Siemens/Fujitsu mainframe running BS3000, an MVS
clone, the Fortran 77 compiler had a switch to reduce the accuracy
of floating point calculations in order to find numerical problems.

The compiler closely followed IBM Fortran compilers (little
surprise there), even in debatable things like the AT statement,
a variant of COME FROM, but only for debugging. I wonder how
many programs only worked with this enabled... but I digress.

Did Fujitsu copy the precision reducdtion feature from IBM?

Re: Option to cut off digits in old Fortran compiler

<e5498272-4ae7-4619-9412-4707443dcf4bn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.fortran
X-Received: by 2002:a05:6214:2a83:b0:496:e059:9f1d with SMTP id jr3-20020a0562142a8300b00496e0599f1dmr10375109qvb.40.1661290769004;
Tue, 23 Aug 2022 14:39:29 -0700 (PDT)
X-Received: by 2002:a25:6ec5:0:b0:676:d7ec:65c5 with SMTP id
j188-20020a256ec5000000b00676d7ec65c5mr26263465ybc.610.1661290768858; Tue, 23
Aug 2022 14:39:28 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Tue, 23 Aug 2022 14:39:28 -0700 (PDT)
In-Reply-To: <te3dnl$9s0$1@newsreader4.netcologne.de>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:886f:d715:1748:c086;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:886f:d715:1748:c086
References: <te3dnl$9s0$1@newsreader4.netcologne.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e5498272-4ae7-4619-9412-4707443dcf4bn@googlegroups.com>
Subject: Re: Option to cut off digits in old Fortran compiler
From: gah4@u.washington.edu (gah4)
Injection-Date: Tue, 23 Aug 2022 21:39:28 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2693
 by: gah4 - Tue, 23 Aug 2022 21:39 UTC

On Tuesday, August 23, 2022 at 1:36:09 PM UTC-7, Thomas Koenig wrote:
> [x-post, f'up]
>
> When I worked on a Siemens/Fujitsu mainframe running BS3000, an MVS
> clone, the Fortran 77 compiler had a switch to reduce the accuracy
> of floating point calculations in order to find numerical problems.
> The compiler closely followed IBM Fortran compilers (little
> surprise there), even in debatable things like the AT statement,
> a variant of COME FROM, but only for debugging. I wonder how
> many programs only worked with this enabled... but I digress.

The debug feature and debug packets came from Fortran G.
I didn't remember that they went into VS Fortran, which is the IBM
Fortran 77 compiler for such systems.

> Did Fujitsu copy the precision reducdtion feature from IBM?

I don't know of any precision reduction feature for HFP, BFP, or DFP
on S/360 descendants. It would not be hard to store them in
memory and then NC (that is, AND) off the low bits. Or it is possibly
a Fujitsu hardware extension.

Reminds me though of a feature of the IBM 7030 that, as far as I
know, never made it into any other processor. The 7030 has a
console switch that sets the bits shifted in on post-normalization,
to either 0's or 1's. The idea is that you would run the program both
ways, and differences were caused by loss of precision in subtraction.

That would seem more obvious for finding numerical problems, though
not so easy to do along with the hardware floating point.

Re: Option to cut off digits in old Fortran compiler

<74c5d901-cbce-4096-9b5e-d379e97a20ddn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.fortran
X-Received: by 2002:a05:620a:1a0e:b0:6bc:3aa1:90a6 with SMTP id bk14-20020a05620a1a0e00b006bc3aa190a6mr5619890qkb.756.1661303933394;
Tue, 23 Aug 2022 18:18:53 -0700 (PDT)
X-Received: by 2002:a81:1d09:0:b0:31d:a40:8332 with SMTP id
d9-20020a811d09000000b0031d0a408332mr30275743ywd.138.1661303933174; Tue, 23
Aug 2022 18:18:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.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: Tue, 23 Aug 2022 18:18:52 -0700 (PDT)
In-Reply-To: <te3dnl$9s0$1@newsreader4.netcologne.de>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:e4c4:1054:a7ab:8e2f;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:e4c4:1054:a7ab:8e2f
References: <te3dnl$9s0$1@newsreader4.netcologne.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <74c5d901-cbce-4096-9b5e-d379e97a20ddn@googlegroups.com>
Subject: Re: Option to cut off digits in old Fortran compiler
From: gah4@u.washington.edu (gah4)
Injection-Date: Wed, 24 Aug 2022 01:18:53 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1782
 by: gah4 - Wed, 24 Aug 2022 01:18 UTC

On Tuesday, August 23, 2022 at 1:36:09 PM UTC-7, Thomas Koenig wrote:

(snip)

> The compiler closely followed IBM Fortran compilers (little
> surprise there), even in debatable things like the AT statement,
> a variant of COME FROM, but only for debugging. I wonder how
> many programs only worked with this enabled... but I digress.

I didn't know this before, but VS Fortran, the IBM Fortran 77 compiler,
and successor to Fortran G and H, does have the DEBUG feature
from Fortran G.

I don't know at all the connection between IBM and Fujitsu compilers.
Maybe they just license the IBM compilers.

Re: Option to cut off digits in old Fortran compiler

<58fa7d31-ca71-4fb4-b730-d64cac064413n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.fortran
X-Received: by 2002:a05:6214:3006:b0:496:ad87:6784 with SMTP id ke6-20020a056214300600b00496ad876784mr23331859qvb.7.1661331375783;
Wed, 24 Aug 2022 01:56:15 -0700 (PDT)
X-Received: by 2002:a0d:de83:0:b0:337:c0bf:12ee with SMTP id
h125-20020a0dde83000000b00337c0bf12eemr24997943ywe.289.1661331375512; Wed, 24
Aug 2022 01:56:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.fortran
Date: Wed, 24 Aug 2022 01:56:15 -0700 (PDT)
In-Reply-To: <74c5d901-cbce-4096-9b5e-d379e97a20ddn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=115.189.135.249; posting-account=KnYfEgoAAAD1tUJTvdAUZ3XojNa5tezZ
NNTP-Posting-Host: 115.189.135.249
References: <te3dnl$9s0$1@newsreader4.netcologne.de> <74c5d901-cbce-4096-9b5e-d379e97a20ddn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <58fa7d31-ca71-4fb4-b730-d64cac064413n@googlegroups.com>
Subject: Re: Option to cut off digits in old Fortran compiler
From: harperjf2@gmail.com (jfh)
Injection-Date: Wed, 24 Aug 2022 08:56:15 +0000
Content-Type: text/plain; charset="UTF-8"
 by: jfh - Wed, 24 Aug 2022 08:56 UTC

On Wednesday, August 24, 2022 at 1:18:55 PM UTC+12, gah4 wrote:
> On Tuesday, August 23, 2022 at 1:36:09 PM UTC-7, Thomas Koenig wrote:
> (snip)
> > The compiler closely followed IBM Fortran compilers (little
> > surprise there), even in debatable things like the AT statement,
> > a variant of COME FROM, but only for debugging. I wonder how
> > many programs only worked with this enabled... but I digress.
> I didn't know this before, but VS Fortran, the IBM Fortran 77 compiler,
> and successor to Fortran G and H, does have the DEBUG feature
> from Fortran G.
>
> I don't know at all the connection between IBM and Fujitsu compilers.
> Maybe they just license the IBM compilers.

Decades ago I was visiting Cambridge University UK and used their IBM mainframe. It had IBM and Fujitsu Fortran compilers, which must have been different because the advice we were given was that the Fujitsu compiler was better.

Re: Option to cut off digits in old Fortran compiler

<m28rnd716j.fsf@gakbook-pro.localdomain>

  copy mid

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

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: gak@pobox.com (Gary Klimowicz)
Newsgroups: comp.lang.fortran
Subject: Re: Option to cut off digits in old Fortran compiler
Date: Wed, 24 Aug 2022 14:59:32 -0700
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <m28rnd716j.fsf@gakbook-pro.localdomain>
References: <te3dnl$9s0$1@newsreader4.netcologne.de>
<e5498272-4ae7-4619-9412-4707443dcf4bn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="00b0c1677ed06520ef7af142795520bb";
logging-data="3605009"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19y7pHfIbqhqyhaVEekuALK6EBTqyzZXJo="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin)
Cancel-Lock: sha1:TM0GFLhiQaau8V30zYH3hsH8L7c=
sha1:cGLPkvDddVgdOccsu9/yJyaBEQc=
 by: Gary Klimowicz - Wed, 24 Aug 2022 21:59 UTC

gah4 <gah4@u.washington.edu> writes:

> On Tuesday, August 23, 2022 at 1:36:09 PM UTC-7, Thomas Koenig wrote:
....
>> Did Fujitsu copy the precision reducdtion feature from IBM?
>
> I don't know of any precision reduction feature for HFP, BFP, or DFP
> on S/360 descendants. It would not be hard to store them in
> memory and then NC (that is, AND) off the low bits. Or it is possibly
> a Fujitsu hardware extension.
>
> Reminds me though of a feature of the IBM 7030 that, as far as I
> know, never made it into any other processor. The 7030 has a
> console switch that sets the bits shifted in on post-normalization,
> to either 0's or 1's. The idea is that you would run the program both
> ways, and differences were caused by loss of precision in subtraction.
>
> That would seem more obvious for finding numerical problems, though
> not so easy to do along with the hardware floating point.

When I was at New Mexico Tech, we had an IBM 360 Model 44.
It was "designed" for scientific computing, so it didn't have
the commercial instructions (move characters, and the decimal
instructions).

It had a dial on the front panel to select the binary mantissa
precision for 64-bit floating point. You could limit it to 32-56
bits (in 8-bit increments). This sped up floating-point
instruction execution, of course.

I was only there for a year, but I wasn't aware of anyone
requesting an unusual value for it (32, 40, 48) for their jobs.

There's a nice little Wikipedia article here:
https://en.wikipedia.org/wiki/IBM_System/360_Model_44

--
gak

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor