Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Center meeting at 4pm in 2C-543.


computers / comp.os.vms / Re: VMS Software Q1 '23 Update

SubjectAuthor
* VMS Software Q1 '23 UpdateJan-Erik Söderholm
`* Re: VMS Software Q1 '23 UpdateSimon Clubley
 `* Re: VMS Software Q1 '23 UpdateJan-Erik Söderholm
  `* Re: VMS Software Q1 '23 UpdateJohn H Reinhardt
   `* Re: VMS Software Q1 '23 UpdateIan Miller
    `* Re: VMS Software Q1 '23 UpdateSimon Clubley
     +* Re: VMS Software Q1 '23 UpdateDave Froble
     |+- Re: VMS Software Q1 '23 UpdateDan Cross
     |+* Re: VMS Software Q1 '23 UpdateCraig A. Berry
     ||`* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     || +* Re: VMS Software Q1 '23 UpdateCraig A. Berry
     || |`- Re: VMS Software Q1 '23 UpdateArne Vajhøj
     || `* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||  `* Re: VMS Software Q1 '23 UpdateSimon Clubley
     ||   +- Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||   `* Re: VMS Software Q1 '23 UpdateJohn Reagan
     ||    `* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||     `* Re: VMS Software Q1 '23 UpdateJohn Reagan
     ||      `* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       +* Re: VMS Software Q1 '23 UpdateJohn Reagan
     ||       |`* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       | `* Re: VMS Software Q1 '23 Updatebill
     ||       |  +- Re: VMS Software Q1 '23 UpdateDave Froble
     ||       |  `* Re: VMS Software Q1 '23 UpdateSimon Clubley
     ||       |   +- Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |   `* Re: VMS Software Q1 '23 UpdateDave Froble
     ||       |    `* Re: VMS Software Q1 '23 UpdateSingle Stage to Orbit
     ||       |     `* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      +* Re: VMS Software Q1 '23 UpdateSimon Clubley
     ||       |      |`* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | +* Re: VMS Software Q1 '23 UpdateSteven Schweda
     ||       |      | |`* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | | +- Re: VMS Software Q1 '23 UpdateSimon Clubley
     ||       |      | | `* Re: VMS Software Q1 '23 UpdateSteven Schweda
     ||       |      | |  +* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  |+* Re: VMS Software Q1 '23 UpdateJohnny Billquist
     ||       |      | |  ||+* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  |||+* Re: VMS Software Q1 '23 UpdateDave Froble
     ||       |      | |  ||||`- Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  |||`- Re: VMS Software Q1 '23 UpdateJohnny Billquist
     ||       |      | |  ||`* Re: VMS Software Q1 '23 UpdateDave Froble
     ||       |      | |  || `* Re: VMS Software Q1 '23 UpdateScott Dorsey
     ||       |      | |  ||  +* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||  |`* Re: VMS Software Q1 '23 Updatebill
     ||       |      | |  ||  | +- Re: VMS Software Q1 '23 UpdateScott Dorsey
     ||       |      | |  ||  | +- Re: VMS Software Q1 '23 UpdateDave Froble
     ||       |      | |  ||  | `- Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||  `* Re: VMS Software Q1 '23 UpdateDave Froble
     ||       |      | |  ||   +* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   |+* Re: VMS Software Q1 '23 UpdateDave Froble
     ||       |      | |  ||   ||`* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || +* Re: VMS Software Q1 '23 UpdateScott Dorsey
     ||       |      | |  ||   || |`* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || | +* Re: VMS Software Q1 '23 UpdateDave Froble
     ||       |      | |  ||   || | |+- Re: VMS Software Q1 '23 UpdateScott Dorsey
     ||       |      | |  ||   || | |`* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || | | +- Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || | | +* Re: VMS Software Q1 '23 UpdateDave Froble
     ||       |      | |  ||   || | | |`* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || | | | +* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || | | | |`- Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || | | | `* Re: VMS Software Q1 '23 UpdateDave Froble
     ||       |      | |  ||   || | | |  +* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || | | |  |+* Re: VMS Software Q1 '23 UpdateCraig A. Berry
     ||       |      | |  ||   || | | |  ||`- Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || | | |  |`* Re: VMS Software Q1 '23 UpdateJohn Reagan
     ||       |      | |  ||   || | | |  | `- Re: VMS Software Q1 '23 UpdateDave Froble
     ||       |      | |  ||   || | | |  `- Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || | | `- Re: VMS Software Q1 '23 UpdateJohnny Billquist
     ||       |      | |  ||   || | `* Re: VMS Software Q1 '23 UpdateScott Dorsey
     ||       |      | |  ||   || |  `- Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || +* Re: VMS Software Q1 '23 UpdateSimon Clubley
     ||       |      | |  ||   || |+- Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || |`* Re: VMS Software Q1 '23 UpdateJohnny Billquist
     ||       |      | |  ||   || | `* Re: VMS Software Q1 '23 UpdateSimon Clubley
     ||       |      | |  ||   || |  +* Re: VMS Software Q1 '23 UpdateStephen Hoffman
     ||       |      | |  ||   || |  |+- Re: VMS Software Q1 '23 UpdateJohn Reagan
     ||       |      | |  ||   || |  |`* Re: VMS Software Q1 '23 UpdateSimon Clubley
     ||       |      | |  ||   || |  | +* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || |  | |+* Re: VMS Software Q1 '23 UpdateJan-Erik Söderholm
     ||       |      | |  ||   || |  | ||`* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || |  | || `- Re: VMS Software Q1 '23 UpdateJan-Erik Söderholm
     ||       |      | |  ||   || |  | |`* Re: VMS Software Q1 '23 UpdateSingle Stage to Orbit
     ||       |      | |  ||   || |  | | `* Re: VMS Software Q1 '23 Updateplugh
     ||       |      | |  ||   || |  | |  +* Re: VMS Software Q1 '23 UpdateSingle Stage to Orbit
     ||       |      | |  ||   || |  | |  |`* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || |  | |  | +* Re: VMS Software Q1 '23 UpdateSingle Stage to Orbit
     ||       |      | |  ||   || |  | |  | |`- Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || |  | |  | `* Re: VMS Software Q1 '23 UpdateDan Cross
     ||       |      | |  ||   || |  | |  |  `* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | |  ||   || |  | |  |   `- Re: VMS Software Q1 '23 UpdateDan Cross
     ||       |      | |  ||   || |  | |  `- Re: VMS Software Q1 '23 Updateplugh
     ||       |      | |  ||   || |  | +- Re: VMS Software Q1 '23 UpdateDave Froble
     ||       |      | |  ||   || |  | +* Re: Floating Point, Machine Epsilon, Rust, Swift, Etc (was: Re: VMS Software Q1 Stephen Hoffman
     ||       |      | |  ||   || |  | |`* Re: Floating Point, Machine Epsilon, Rust, Swift, Etc (was: Re: VMSArne Vajhøj
     ||       |      | |  ||   || |  | | `* Re: Floating Point, Machine Epsilon, Rust, Swift, Etc (was: Re: VMSDan Cross
     ||       |      | |  ||   || |  | |  `- Re: Floating Point, Machine Epsilon, Rust, Swift, Etc (was: Re: VMSArne Vajhøj
     ||       |      | |  ||   || |  | `- Re: VMS Software Q1 '23 UpdateDan Cross
     ||       |      | |  ||   || |  `- Re: VMS Software Q1 '23 UpdateJohnny Billquist
     ||       |      | |  ||   || `- Re: VMS Software Q1 '23 UpdateJohnny Billquist
     ||       |      | |  ||   |`- Re: VMS Software Q1 '23 UpdateJohnny Billquist
     ||       |      | |  ||   +* Re: VMS Software Q1 '23 UpdateScott Dorsey
     ||       |      | |  ||   +* Re: VMS Software Q1 '23 Updatebill
     ||       |      | |  ||   `- Re: VMS Software Q1 '23 UpdateJohnny Billquist
     ||       |      | |  |`* Re: VMS Software Q1 '23 UpdateDave Froble
     ||       |      | |  `* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      | `- Re: VMS Software Q1 '23 UpdateArne Vajhøj
     ||       |      `* Re: VMS Software Q1 '23 UpdateSingle Stage to Orbit
     ||       `* Re: VMS Software Q1 '23 UpdateDave Froble
     |`- Re: VMS Software Q1 '23 UpdateIan Miller
     +* Re: VMS Software Q1 '23 UpdateCraig A. Berry
     +- Re: VMS Software Q1 '23 UpdateArne Vajhøj
     +* Re: VMS Software Q1 '23 UpdateArne Vajhøj
     `- Re: VMS Software Q1 '23 UpdateArne Vajhøj

Pages:123456
Re: VMS Software Q1 '23 Update

<tr538n$2l4tu$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26373&group=comp.os.vms#26373

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 01:21:10 -0500
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <tr538n$2l4tu$1@dont-email.me>
References: <tq8dgc$r4km$1@dont-email.me>
<660be03d-246e-423c-a2b3-36c54d3759a4n@googlegroups.com> <tqsivt$srer$
<tr4hgr$2ffm6$2@dont-email.me> <tr4i45$80t$1@panix2.panix.com>
<tr4pp3$2jk4s$1@dont-email.me> <tr4q3f$2jlld$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 29 Jan 2023 06:21:11 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="bc31521357dd02b4d8b97df8b8273f59";
logging-data="2790334"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XUyYm5hA6Quxw8zM/z9q86DgIn+cyGEo="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:cUL344iJMRUoLyQI9u+i1pzme08=
In-Reply-To: <tr4q3f$2jlld$1@dont-email.me>
 by: Dave Froble - Sun, 29 Jan 2023 06:21 UTC

On 1/28/2023 10:44 PM, Arne Vajhøj wrote:
> On 1/28/2023 10:39 PM, Dave Froble wrote:
>> On 1/28/2023 8:28 PM, Scott Dorsey wrote:
>>> One of the absolute FIRST things that I was told about floating point
>>> variables in my first programming class was to NEVER use them to represent
>>> money.
>>
>> What if you didn't have a choice?
>>
>> RSTS/E V04b
>>
>> Signed word integers
>> Strings
>> Single and double D-float
>>
>> That's all there was ...
>
> There is always integers and implied decimal.
>
> Not fun though.
>
> And one need an integer with enough bits ...
>
> Could PDP-11 do 32 bit integers?
>
> Arne

What part of "signed word integers" didn't you understand? As in 16 bits.
-32768 to 32767.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS Software Q1 '23 Update

<tr5re6$6bk$1@panix2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26374&group=comp.os.vms#26374

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: 29 Jan 2023 13:13:42 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 28
Message-ID: <tr5re6$6bk$1@panix2.panix.com>
References: <tq8dgc$r4km$1@dont-email.me> <tr4hgr$2ffm6$2@dont-email.me> <tr4i45$80t$1@panix2.panix.com> <tr4pp3$2jk4s$1@dont-email.me>
Injection-Info: reader2.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="24223"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Sun, 29 Jan 2023 13:13 UTC

Dave Froble <davef@tsoft-inc.com> wrote:
>On 1/28/2023 8:28 PM, Scott Dorsey wrote:
>>> On 1/28/2023 6:19 PM, Johnny Billquist wrote:
>>>> On 2023-01-28 23:35, Arne Vajhøj wrote:
>>>>> On 1/28/2023 3:01 PM, Steven Schweda wrote:
>>>>>>> Consider the case where the numbers represent money.
>>>>>>
>>>>>> Who cares what the numbers represent? For example, if you round to
>>
>> One of the absolute FIRST things that I was told about floating point
>> variables in my first programming class was to NEVER use them to represent
>> money.
>
>What if you didn't have a choice?
>
>RSTS/E V04b
>
>Signed word integers
>Strings
>Single and double D-float
>
>That's all there was ...

Signed integers are fine. Read and write with a . added before the last two
digits, so the integer contains cents. That was very common practice.
--scott
--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: VMS Software Q1 '23 Update

<tr5rk3$8el$1@panix2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26375&group=comp.os.vms#26375

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: 29 Jan 2023 13:16:51 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 12
Message-ID: <tr5rk3$8el$1@panix2.panix.com>
References: <tq8dgc$r4km$1@dont-email.me> <tr4i45$80t$1@panix2.panix.com> <tr4pp3$2jk4s$1@dont-email.me> <tr5re6$6bk$1@panix2.panix.com>
Injection-Info: reader2.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="17180"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Sun, 29 Jan 2023 13:16 UTC

Scott Dorsey <kludge@panix.com> wrote:
>
>Signed integers are fine. Read and write with a . added before the last two
>digits, so the integer contains cents. That was very common practice.

Other workarounds people have used over the years include keeping dollars and
cents as two diferent integers, and strings or integer arrays used to store
BCD or ascii numbers. That latter is very handy when you're asked to deal
with trillions of dollars and don't have BCD types available.
--scott
--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: VMS Software Q1 '23 Update

<tr5tjr$2pjrn$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26376&group=comp.os.vms#26376

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 08:50:51 -0500
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <tr5tjr$2pjrn$1@dont-email.me>
References: <tq8dgc$r4km$1@dont-email.me>
<660be03d-246e-423c-a2b3-36c54d3759a4n@googlegroups.com> <tqsivt$srer$
<tr4hgr$2ffm6$2@dont-email.me> <tr4i45$80t$1@panix2.panix.com>
<tr4pp3$2jk4s$1@dont-email.me> <tr4q3f$2jlld$1@dont-email.me>
<tr538n$2l4tu$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 29 Jan 2023 13:50:51 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="85c94694e2923b280908bdfbe0b5f4f1";
logging-data="2936695"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OALK78pAKyWUF/9eOyB/WbQCRKf8IRWo="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.7.0
Cancel-Lock: sha1:1rqlzdBbaX8evj3mIX4Fb5abdmg=
In-Reply-To: <tr538n$2l4tu$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Sun, 29 Jan 2023 13:50 UTC

On 1/29/2023 1:21 AM, Dave Froble wrote:
> On 1/28/2023 10:44 PM, Arne Vajhøj wrote:
>> On 1/28/2023 10:39 PM, Dave Froble wrote:
>>> On 1/28/2023 8:28 PM, Scott Dorsey wrote:
>>>> One of the absolute FIRST things that I was told about floating point
>>>> variables in my first programming class was to NEVER use them to
>>>> represent
>>>> money.
>>>
>>> What if you didn't have a choice?
>>>
>>> RSTS/E V04b
>>>
>>> Signed word integers
>>> Strings
>>> Single and double D-float
>>>
>>> That's all there was ...
>>
>> There is always integers and implied decimal.
>>
>> Not fun though.
>>
>> And one need an integer with enough bits ...
>>
>> Could PDP-11 do 32 bit integers?
>
> What part of "signed word integers" didn't you understand?  As in 16
> bits. -32768 to 32767.

I sort of had guessed that word was the same as on VAX,
but I don't understand how it can't have a 32 bit integer.

How does one work with file sizes and file position
in bytes on PDP-11?

I know you don't do C, but I believe C was invented on
PDP-11.

Arne

Re: VMS Software Q1 '23 Update

<tr601g$kml$1@panix2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26377&group=comp.os.vms#26377

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: 29 Jan 2023 14:32:16 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 18
Message-ID: <tr601g$kml$1@panix2.panix.com>
References: <tq8dgc$r4km$1@dont-email.me> <tr4q3f$2jlld$1@dont-email.me> <tr538n$2l4tu$1@dont-email.me> <tr5tjr$2pjrn$1@dont-email.me>
Injection-Info: reader2.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="23307"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Sun, 29 Jan 2023 14:32 UTC

=?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne@vajhoej.dk> wrote:
>
>I sort of had guessed that word was the same as on VAX,
>but I don't understand how it can't have a 32 bit integer.
>
>How does one work with file sizes and file position
>in bytes on PDP-11?
>
>I know you don't do C, but I believe C was invented on
>PDP-11.

I think the issue is with the programming language and not with the
architecture. And yes, you can use bignum in C, at least under v7 Unix,
and store really really big numbers.
--scott

--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: VMS Software Q1 '23 Update

<k3nfbeF25uU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26378&group=comp.os.vms#26378

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (bill)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 09:49:18 -0500
Lines: 40
Message-ID: <k3nfbeF25uU1@mid.individual.net>
References: <tq8dgc$r4km$1@dont-email.me>
<660be03d-246e-423c-a2b3-36c54d3759a4n@googlegroups.com> <tqsivt$srer$
<tr4hgr$2ffm6$2@dont-email.me> <tr4i45$80t$1@panix2.panix.com>
<tr4inv$2egm5$4@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net RuDH7iDc24Z7iEamazBJMgnovlT/KaNZyHPcj035b9s+FEikG0
Cancel-Lock: sha1:QRVi7wt9PItB/MxBwfSS8c+Dk+g=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.7.0
Content-Language: en-US
In-Reply-To: <tr4inv$2egm5$4@dont-email.me>
 by: bill - Sun, 29 Jan 2023 14:49 UTC

On 1/28/2023 8:39 PM, Arne Vajhøj wrote:
> On 1/28/2023 8:28 PM, Scott Dorsey wrote:
>>> On 1/28/2023 6:19 PM, Johnny Billquist wrote:
>>>> On 2023-01-28 23:35, Arne Vajhøj wrote:
>>>>> On 1/28/2023 3:01 PM, Steven Schweda wrote:
>>>>>>> Consider the case where the numbers represent money.
>>>>>>
>>>>>>      Who cares what the numbers represent?  For example, if you
>>>>>> round to
>>
>> One of the absolute FIRST things that I was told about floating point
>> variables in my first programming class was to NEVER use them to
>> represent
>> money.
>
> It is known to be problematic.
>
> But there are 3 cases where it happens anyway:
> - the developer does not care

Wrong developer

> - the language used does not have a decimal type and
>   integers with implied decimal is considered to
>   cumbersome

Wrong language for the job

> - decimal is actually used in general, but certain
>   calculations temporarily move over in floating
>   point (like some interest calculations)

Wrong language for the job

Obviously, all of these can be fixed properly. Guess the concepts of
right tool for the job and due diligence no longer carry any sway.

bill

Re: VMS Software Q1 '23 Update

<tr6161$2q3dq$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26379&group=comp.os.vms#26379

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 14:51:45 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 69
Message-ID: <tr6161$2q3dq$1@dont-email.me>
References: <tq8dgc$r4km$1@dont-email.me> <660be03d-246e-423c-a2b3-36c54d3759a4n@googlegroups.com> <tr4hgr$2ffm6$2@dont-email.me> <tr4i45$80t$1@panix2.panix.com> <tr4pp3$2jk4s$1@dont-email.me> <tr4q3f$2jlld$1@dont-email.me> <tr538n$2l4tu$1@dont-email.me> <tr5tjr$2pjrn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 29 Jan 2023 14:51:45 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b27f6327d84ad51e9e301cfdd4aa1981";
logging-data="2952634"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18H2Wonce4oZlwixNQ92Ug/CeB2U/VLybc="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:NeX5W8ppRBNcTb5UNJ0SkyT9jvI=
 by: Simon Clubley - Sun, 29 Jan 2023 14:51 UTC

On 2023-01-29, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 1/29/2023 1:21 AM, Dave Froble wrote:
>> On 1/28/2023 10:44 PM, Arne Vajhøj wrote:
>>> On 1/28/2023 10:39 PM, Dave Froble wrote:
>>>> On 1/28/2023 8:28 PM, Scott Dorsey wrote:
>>>>> One of the absolute FIRST things that I was told about floating point
>>>>> variables in my first programming class was to NEVER use them to
>>>>> represent
>>>>> money.
>>>>
>>>> What if you didn't have a choice?
>>>>
>>>> RSTS/E V04b
>>>>
>>>> Signed word integers
>>>> Strings
>>>> Single and double D-float
>>>>
>>>> That's all there was ...
>>>
>>> There is always integers and implied decimal.
>>>
>>> Not fun though.
>>>
>>> And one need an integer with enough bits ...
>>>
>>> Could PDP-11 do 32 bit integers?
>>
>> What part of "signed word integers" didn't you understand?  As in 16
>> bits. -32768 to 32767.
>
> I sort of had guessed that word was the same as on VAX,
> but I don't understand how it can't have a 32 bit integer.
>
> How does one work with file sizes and file position
> in bytes on PDP-11?
>

The same way as it's done with a block-based filesystem (ODS-2) on VMS.

In general, the 16-bit nature of the PDP-11 is reflected in the API.

Ever worked with real-mode MS-DOS at assembly language level ?

It's the same kind of thing.

> I know you don't do C, but I believe C was invented on
> PDP-11.
>

What makes you think that "int" in C is _always_ at least 32 bits ? :-)

There's a reason why both int and long int have always existed in C.

And on architectures that do not support 32-bit ints, then long int is
a library/RTL feature implemented by the language in the same way as
64-bit long long int is implemented by the language RTL on 32-bit
architectures.

Also, most languages on RSTS/E intended for commercial data processing
also supported a decimal datatype, which was implemented by the language's
RTL. It seems early RSTS/E Basic wasn't one of them however, based on
what David is saying.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS Software Q1 '23 Update

<k3nfkrF25rU5@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26380&group=comp.os.vms#26380

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (bill)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 09:54:19 -0500
Lines: 36
Message-ID: <k3nfkrF25rU5@mid.individual.net>
References: <tq8dgc$r4km$1@dont-email.me>
<660be03d-246e-423c-a2b3-36c54d3759a4n@googlegroups.com> <tqsivt$srer$
<tr4hgr$2ffm6$2@dont-email.me> <tr4i45$80t$1@panix2.panix.com>
<tr4pp3$2jk4s$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 8z+xydLbbwDJcnZjNo+3hQ0YL2PWxckcE4MrybtQ8U9+cZhx7u
Cancel-Lock: sha1:taIZxZZpIX1bEs7hPE6IxjgJQek=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.7.0
Content-Language: en-US
In-Reply-To: <tr4pp3$2jk4s$1@dont-email.me>
 by: bill - Sun, 29 Jan 2023 14:54 UTC

On 1/28/2023 10:39 PM, Dave Froble wrote:
> On 1/28/2023 8:28 PM, Scott Dorsey wrote:
>>> On 1/28/2023 6:19 PM, Johnny Billquist wrote:
>>>> On 2023-01-28 23:35, Arne Vajhøj wrote:
>>>>> On 1/28/2023 3:01 PM, Steven Schweda wrote:
>>>>>>> Consider the case where the numbers represent money.
>>>>>>
>>>>>>     Who cares what the numbers represent?  For example, if you
>>>>>> round to
>>
>> One of the absolute FIRST things that I was told about floating point
>> variables in my first programming class was to NEVER use them to
>> represent
>> money.
>> --scott
>>
>
> What if you didn't have a choice?
>
> RSTS/E V04b
>
> Signed word integers
> Strings
> Single and double D-float
>
> That's all there was ...
>

No COBOL? Sad as it sounds if RSTS BASIC was the only language
on the machine (I am pretty sure it was not) then one would have
to write routines, no matter how inefficient and time consuming,
to do the job right. But floating point for money is never the
right answer.

bill

Re: VMS Software Q1 '23 Update

<tr61gi$2q3dq$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26381&group=comp.os.vms#26381

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!rocksolid2!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 14:57:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <tr61gi$2q3dq$2@dont-email.me>
References: <tq8dgc$r4km$1@dont-email.me> <tqp7bm$871q$1@dont-email.me> <tqpg77$9pjt$1@dont-email.me> <tqpp85$badl$1@dont-email.me> <tqrm2c$o1tk$1@dont-email.me> <tqrmpk$o1tk$2@dont-email.me> <tqrrie$p41u$1@dont-email.me> <092a42c6-b610-4dd8-8e94-68647c279c7bn@googlegroups.com> <tqsar7$rhss$1@dont-email.me> <9e3d2b85-b0b8-47c7-9f73-fda3a10c534bn@googlegroups.com> <tqsf7p$s7a0$1@dont-email.me> <660be03d-246e-423c-a2b3-36c54d3759a4n@googlegroups.com> <tqsivt$srer$1@dont-email.me> <k3e21sF25rU1@mid.individual.net> <tqtubd$16nj8$1@dont-email.me> <tquavs$18vru$1@dont-email.me> <9f8f3187a0039369ecb14b934c0a399dce41fe28.camel@munted.eu> <tquhac$19r40$1@dont-email.me> <tr162i$1q43n$3@dont-email.me> <tr1r6f$1tk7m$3@dont-email.me> <435dd522-c85e-4a46-9ba5-9a33c857d7ffn@googlegroups.com> <tr3bd5$28ikb$2@dont-email.me> <4a295979-2ac5-43f6-8017-01e6e2458304n@googlegroups.com> <tr47v2$2dje6$1@dont-email.me> <tr4hd3$2ffm6$1@dont-email.me> <tr4ibv$2egm5$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 29 Jan 2023 14:57:22 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b27f6327d84ad51e9e301cfdd4aa1981";
logging-data="2952634"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/RVMoo6HVL/sSwRx04mZjbNbBqXRTuENw="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:1BIFOYHb0WJ2G0JVPQucyPdYcHo=
 by: Simon Clubley - Sun, 29 Jan 2023 14:57 UTC

On 2023-01-28, Arne Vajhøj <arne@vajhoej.dk> wrote:
>
> I find it hard to see why one would bother with the risks
> of using floating point if a decimal type is available.
>
> VMS Basic has a decimal type.
>

Did RSTS/E Basic ever get a decimal data type, and if so, when ?

PDP-11 DIBOL had a decimal data type, but I don't know when DIBOL
was introduced to the PDP-11 (ie: was it _after_ David started
using RSTS/E Basic ?)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS Software Q1 '23 Update

<tr61mk$2q3dq$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26382&group=comp.os.vms#26382

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 15:00:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <tr61mk$2q3dq$3@dont-email.me>
References: <tq8dgc$r4km$1@dont-email.me> <660be03d-246e-423c-a2b3-36c54d3759a4n@googlegroups.com> <tr4hgr$2ffm6$2@dont-email.me> <tr4i45$80t$1@panix2.panix.com> <tr4pp3$2jk4s$1@dont-email.me> <k3nfkrF25rU5@mid.individual.net>
Injection-Date: Sun, 29 Jan 2023 15:00:37 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b27f6327d84ad51e9e301cfdd4aa1981";
logging-data="2952634"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/HHjNxSt0NVMbgGG9A0mvXog7Vu+V8pDI="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:tk4cKkmGcO3BdlDSvMGUA1byZ6I=
 by: Simon Clubley - Sun, 29 Jan 2023 15:00 UTC

On 2023-01-29, bill <bill.gunshannon@gmail.com> wrote:
> On 1/28/2023 10:39 PM, Dave Froble wrote:
>>
>> What if you didn't have a choice?
>>
>> RSTS/E V04b
>>
>> Signed word integers
>> Strings
>> Single and double D-float
>>
>> That's all there was ...
>>
>
> No COBOL? Sad as it sounds if RSTS BASIC was the only language
> on the machine (I am pretty sure it was not) then one would have
> to write routines, no matter how inefficient and time consuming,
> to do the job right. But floating point for money is never the
> right answer.
>

Same question as for PDP-11 DIBOL: when did COBOL arrive on RSTS/E
and was it after David started implementing his application on RSTS/E ?

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: VMS Software Q1 '23 Update

<tr643q$2ql47$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26383&group=comp.os.vms#26383

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 10:41:46 -0500
Organization: A noiseless patient Spider
Lines: 57
Message-ID: <tr643q$2ql47$1@dont-email.me>
References: <tq8dgc$r4km$1@dont-email.me>
<660be03d-246e-423c-a2b3-36c54d3759a4n@googlegroups.com>
<tr4hgr$2ffm6$2@dont-email.me> <tr4i45$80t$1@panix2.panix.com>
<tr4pp3$2jk4s$1@dont-email.me> <tr4q3f$2jlld$1@dont-email.me>
<tr538n$2l4tu$1@dont-email.me> <tr5tjr$2pjrn$1@dont-email.me>
<tr6161$2q3dq$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 29 Jan 2023 15:41:46 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="85c94694e2923b280908bdfbe0b5f4f1";
logging-data="2970759"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19v4XDfSgsRVuMHQHGNJXKXiREYsZ8wnfY="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.7.0
Cancel-Lock: sha1:SCr22qRrciDUz+2YhZOmbGeYrSM=
In-Reply-To: <tr6161$2q3dq$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Sun, 29 Jan 2023 15:41 UTC

On 1/29/2023 9:51 AM, Simon Clubley wrote:
> On 2023-01-29, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 1/29/2023 1:21 AM, Dave Froble wrote:
>>> On 1/28/2023 10:44 PM, Arne Vajhøj wrote:
>>>> And one need an integer with enough bits ...
>>>>
>>>> Could PDP-11 do 32 bit integers?
>>>
>>> What part of "signed word integers" didn't you understand?  As in 16
>>> bits. -32768 to 32767.
>>
>> I sort of had guessed that word was the same as on VAX,
>> but I don't understand how it can't have a 32 bit integer.
>>
>> How does one work with file sizes and file position
>> in bytes on PDP-11?
>
> The same way as it's done with a block-based filesystem (ODS-2) on VMS.
>
> In general, the 16-bit nature of the PDP-11 is reflected in the API.
>
> Ever worked with real-mode MS-DOS at assembly language level ?
>
> It's the same kind of thing.

Compilers on 16 bit MS-DOS did support 32 bit integers.

So a compiler on 16 bit PDP-11 some OS could potentially as well.

>> I know you don't do C, but I believe C was invented on
>> PDP-11.
>
> What makes you think that "int" in C is _always_ at least 32 bits ? :-)

I don't.

The point is that there are some C IO routines that operate on
byte offset. No integer type bigger than 16 bit seems like a huge
problem.

> There's a reason why both int and long int have always existed in C.
>
> And on architectures that do not support 32-bit ints, then long int is
> a library/RTL feature implemented by the language in the same way as
> 64-bit long long int is implemented by the language RTL on 32-bit
> architectures.

For add and sub it does not even need a RTL routine if it has
"with carry" instructions.

It is absolutely possible.

But per Dave at least Basic chose not to support it. And I wonder.

Arne

Re: VMS Software Q1 '23 Update

<tr6462$2ql47$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26384&group=comp.os.vms#26384

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 10:42:58 -0500
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <tr6462$2ql47$2@dont-email.me>
References: <tq8dgc$r4km$1@dont-email.me> <tr4q3f$2jlld$1@dont-email.me>
<tr538n$2l4tu$1@dont-email.me> <tr5tjr$2pjrn$1@dont-email.me>
<tr601g$kml$1@panix2.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 29 Jan 2023 15:42:58 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="85c94694e2923b280908bdfbe0b5f4f1";
logging-data="2970759"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+IbQ+cn010smdU6azoWbJ6kjKrdMnxQp0="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.7.0
Cancel-Lock: sha1:gATTWDGTGNfbhGNjye2vZlQA7tU=
Content-Language: en-US
In-Reply-To: <tr601g$kml$1@panix2.panix.com>
 by: Arne Vajhøj - Sun, 29 Jan 2023 15:42 UTC

On 1/29/2023 9:32 AM, Scott Dorsey wrote:
> =?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne@vajhoej.dk> wrote:
>>
>> I sort of had guessed that word was the same as on VAX,
>> but I don't understand how it can't have a 32 bit integer.
>>
>> How does one work with file sizes and file position
>> in bytes on PDP-11?
>>
>> I know you don't do C, but I believe C was invented on
>> PDP-11.
>
> I think the issue is with the programming language and not with the
> architecture. And yes, you can use bignum in C, at least under v7 Unix,
> and store really really big numbers.

So other language & OS combinations did support 32 bit
integers on PDP-11?

Possible including first version of C.

Arne

Re: VMS Software Q1 '23 Update

<tr688j$2rfv8$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26385&group=comp.os.vms#26385

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 11:52:59 -0500
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <tr688j$2rfv8$1@dont-email.me>
References: <tq8dgc$r4km$1@dont-email.me> <tr4q3f$2jlld$1@dont-email.me>
<tr538n$2l4tu$1@dont-email.me> <tr5tjr$2pjrn$1@dont-email.me>
<tr601g$kml$1@panix2.panix.com> <tr6462$2ql47$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 29 Jan 2023 16:52:36 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="bc31521357dd02b4d8b97df8b8273f59";
logging-data="2998248"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19SJ7x+lNW/kTptR8jaKQQGoavO9xAac9E="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:Nv1N851WmaUdU2x6fqSRSz/m7ws=
In-Reply-To: <tr6462$2ql47$2@dont-email.me>
 by: Dave Froble - Sun, 29 Jan 2023 16:52 UTC

On 1/29/2023 10:42 AM, Arne Vajhøj wrote:
> On 1/29/2023 9:32 AM, Scott Dorsey wrote:
>> =?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne@vajhoej.dk> wrote:
>>>
>>> I sort of had guessed that word was the same as on VAX,
>>> but I don't understand how it can't have a 32 bit integer.
>>>
>>> How does one work with file sizes and file position
>>> in bytes on PDP-11?
>>>
>>> I know you don't do C, but I believe C was invented on
>>> PDP-11.
>>
>> I think the issue is with the programming language and not with the
>> architecture. And yes, you can use bignum in C, at least under v7 Unix,
>> and store really really big numbers.
>
> So other language & OS combinations did support 32 bit
> integers on PDP-11?
>
> Possible including first version of C.
>
> Arne
>
>

When was C first available?

The problem was, in 1974, we had RSTS/E and Basic+ on PDP-11. That was what was
available. Sure, in later years, there were more options. As far as that goes,
we developed what we called "double integer", which was two word integers, used
in memory as D-float, and stored as a 4 byte string. 6 variations gave us whole
integers, and 5 variations with 1 to 5 digits after the decimal point. The max
values were still limited to I believe 8 digits.

What was developed worked. Later, when discussing with customers the choice of
using newer capabilities, they asked, "what's the benefit" and actually what
they had was working. They were not interested in paying to replace something
that was working for them. There was also the issue of running the programs on
historical data saved on tape. They were not interested in converting the
historical data.

And so the old capabilities remained in use, and they did the job. They are
still doing the job.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS Software Q1 '23 Update

<tr68dv$4k9$1@panix2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26386&group=comp.os.vms#26386

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: 29 Jan 2023 16:55:27 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 17
Message-ID: <tr68dv$4k9$1@panix2.panix.com>
References: <tq8dgc$r4km$1@dont-email.me> <tr4i45$80t$1@panix2.panix.com> <tr4inv$2egm5$4@dont-email.me> <k3nfbeF25uU1@mid.individual.net>
Injection-Info: reader2.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="73"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Sun, 29 Jan 2023 16:55 UTC

bill <bill.gunshannon@gmail.com> wrote:
>
>> - the language used does not have a decimal type and
>>   integers with implied decimal is considered to
>>   cumbersome
>
>Wrong language for the job

You go to war with the army you have, not the army you want.

I wrote an LL(R) parser in Fortran once, and a fourier transform in COBOL
because that's what there was on the machines I had at the time. Both
were excruciating but I got paid so it was okay.
--scott

--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: VMS Software Q1 '23 Update

<tr68ii$jq9$1@panix2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26387&group=comp.os.vms#26387

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: 29 Jan 2023 16:57:54 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 16
Message-ID: <tr68ii$jq9$1@panix2.panix.com>
References: <tq8dgc$r4km$1@dont-email.me> <tr5tjr$2pjrn$1@dont-email.me> <tr601g$kml$1@panix2.panix.com> <tr6462$2ql47$2@dont-email.me>
Injection-Info: reader2.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="28643"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Sun, 29 Jan 2023 16:57 UTC

=?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne@vajhoej.dk> wrote:
>On 1/29/2023 9:32 AM, Scott Dorsey wrote:
>>
>> I think the issue is with the programming language and not with the
>> architecture. And yes, you can use bignum in C, at least under v7 Unix,
>> and store really really big numbers.
>
>So other language & OS combinations did support 32 bit
>integers on PDP-11?

That's not an integer, that's a long. And yes, many languages supported
longints on pdp-11s.
--scott

--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: VMS Software Q1 '23 Update

<tr68nb$514$1@panix2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26388&group=comp.os.vms#26388

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: 29 Jan 2023 17:00:27 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 10
Message-ID: <tr68nb$514$1@panix2.panix.com>
References: <tq8dgc$r4km$1@dont-email.me> <tr601g$kml$1@panix2.panix.com> <tr6462$2ql47$2@dont-email.me> <tr688j$2rfv8$1@dont-email.me>
Injection-Info: reader2.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="1107"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Sun, 29 Jan 2023 17:00 UTC

Dave Froble <davef@tsoft-inc.com> wrote:
>
>When was C first available?

On RSTS/E? Probably about 1980 with Whitesmith C. Maybe a couple years
earlier... I know their RT-11 C became available in 1978 and it was a real C.
I have a Comdex flyer for it hanging outside my office.
--scott
--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: VMS Software Q1 '23 Update

<tr68rv$2rjev$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26389&group=comp.os.vms#26389

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 12:03:19 -0500
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <tr68rv$2rjev$1@dont-email.me>
References: <tq8dgc$r4km$1@dont-email.me> <tr4i45$80t$1@panix2.panix.com>
<tr4pp3$2jk4s$1@dont-email.me> <tr5re6$6bk$1@panix2.panix.com>
<tr5rk3$8el$1@panix2.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 29 Jan 2023 17:02:55 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="bc31521357dd02b4d8b97df8b8273f59";
logging-data="3001823"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/CUiR5FcdZ8T8dXWTNN41vSYxyAFFfgEU="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:sKgVnGoiyT8FlKa7SOAsvw0jAe8=
In-Reply-To: <tr5rk3$8el$1@panix2.panix.com>
 by: Dave Froble - Sun, 29 Jan 2023 17:03 UTC

On 1/29/2023 8:16 AM, Scott Dorsey wrote:
> Scott Dorsey <kludge@panix.com> wrote:
>>
>> Signed integers are fine. Read and write with a . added before the last two
>> digits, so the integer contains cents. That was very common practice.
>
> Other workarounds people have used over the years include keeping dollars and
> cents as two diferent integers, and strings or integer arrays used to store
> BCD or ascii numbers. That latter is very handy when you're asked to deal
> with trillions of dollars and don't have BCD types available.
> --scott
>

Yes, there can be library routines to do some things, but, when the in memory
data types are limited, you either build some hard to use capabilities, if even
possible, or, you use floating point in memory.

Trillions of dollars were never an issue. At least for what we were doing.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS Software Q1 '23 Update

<tr690k$2rjev$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26390&group=comp.os.vms#26390

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 12:05:48 -0500
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <tr690k$2rjev$2@dont-email.me>
References: <tq8dgc$r4km$1@dont-email.me>
<660be03d-246e-423c-a2b3-36c54d3759a4n@googlegroups.com> <tqsivt$srer$
<tr4hgr$2ffm6$2@dont-email.me> <tr4i45$80t$1@panix2.panix.com>
<tr4pp3$2jk4s$1@dont-email.me> <k3nfkrF25rU5@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 29 Jan 2023 17:05:24 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="bc31521357dd02b4d8b97df8b8273f59";
logging-data="3001823"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vRO3UA8FsnR3NkX5fehfW01GKRB4ysyo="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:hJsLlMXBwoob5+V3eUb6p0Kd0nM=
In-Reply-To: <k3nfkrF25rU5@mid.individual.net>
 by: Dave Froble - Sun, 29 Jan 2023 17:05 UTC

On 1/29/2023 9:54 AM, bill wrote:
> On 1/28/2023 10:39 PM, Dave Froble wrote:
>> On 1/28/2023 8:28 PM, Scott Dorsey wrote:
>>>> On 1/28/2023 6:19 PM, Johnny Billquist wrote:
>>>>> On 2023-01-28 23:35, Arne Vajhøj wrote:
>>>>>> On 1/28/2023 3:01 PM, Steven Schweda wrote:
>>>>>>>> Consider the case where the numbers represent money.
>>>>>>>
>>>>>>> Who cares what the numbers represent? For example, if you round to
>>>
>>> One of the absolute FIRST things that I was told about floating point
>>> variables in my first programming class was to NEVER use them to represent
>>> money.
>>> --scott
>>>
>>
>> What if you didn't have a choice?
>>
>> RSTS/E V04b
>>
>> Signed word integers
>> Strings
>> Single and double D-float
>>
>> That's all there was ...
>>
>
> No COBOL? Sad as it sounds if RSTS BASIC was the only language
> on the machine (I am pretty sure it was not) then one would have
> to write routines, no matter how inefficient and time consuming,
> to do the job right. But floating point for money is never the
> right answer.
>
> bill
>

I have to wonder why some people continue to argue with success?

No, the only language available on RSTS/E, at that time, was Basic+. Much more
was added later using the RSX stuff under RSTS/E. But not in 1974.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS Software Q1 '23 Update

<tr69bj$2rmdo$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26391&group=comp.os.vms#26391

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 12:11:39 -0500
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <tr69bj$2rmdo$1@dont-email.me>
References: <tq8dgc$r4km$1@dont-email.me> <tqpg77$9pjt$1@dont-email.me>
<tqpp85$badl$1@dont-email.me> <tqrm2c$o1tk$1@dont-email.me>
<tqrmpk$o1tk$2@dont-email.me> <tqrrie$p41u$1@dont-email.me>
<092a42c6-b610-4dd8-8e94-68647c279c7bn@googlegroups.com>
<tqsar7$rhss$1@dont-email.me>
<9e3d2b85-b0b8-47c7-9f73-fda3a10c534bn@googlegroups.com>
<tqsf7p$s7a0$1@dont-email.me>
<660be03d-246e-423c-a2b3-36c54d3759a4n@googlegroups.com>
<tqsivt$srer$1@dont-email.me> <k3e21sF25rU1@mid.individual.net>
<tqtubd$16nj8$1@dont-email.me> <tquavs$18vru$1@dont-email.me>
<9f8f3187a0039369ecb14b934c0a399dce41fe28.camel@munted.eu>
<tquhac$19r40$1@dont-email.me> <tr162i$1q43n$3@dont-email.me>
<tr1r6f$1tk7m$3@dont-email.me>
<435dd522-c85e-4a46-9ba5-9a33c857d7ffn@googlegroups.com>
<tr3bd5$28ikb$2@dont-email.me>
<4a295979-2ac5-43f6-8017-01e6e2458304n@googlegroups.com>
<tr47v2$2dje6$1@dont-email.me> <tr4hd3$2ffm6$1@dont-email.me>
<tr4ibv$2egm5$2@dont-email.me> <tr61gi$2q3dq$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 29 Jan 2023 17:11:15 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="bc31521357dd02b4d8b97df8b8273f59";
logging-data="3004856"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MFTrOWrb/cD1gCMM/2o2G12cBpGKTGa0="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:oEJCxJ5l2EQgrpAd/VtJdxuJZMQ=
In-Reply-To: <tr61gi$2q3dq$2@dont-email.me>
 by: Dave Froble - Sun, 29 Jan 2023 17:11 UTC

On 1/29/2023 9:57 AM, Simon Clubley wrote:
> On 2023-01-28, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>
>> I find it hard to see why one would bother with the risks
>> of using floating point if a decimal type is available.
>>
>> VMS Basic has a decimal type.
>>
>
> Did RSTS/E Basic ever get a decimal data type, and if so, when ?
>
> PDP-11 DIBOL had a decimal data type, but I don't know when DIBOL
> was introduced to the PDP-11 (ie: was it _after_ David started
> using RSTS/E Basic ?)
>
> Simon.
>

I believe DIBOL was on the PDP-8. I don't know when or how it got on the PDP-11.

What I think might be interesting is, the people working on RSTS/E back in the
1970s probably aren't around to tell others just how primitive things were.
Seems some here are having a hard time imagining that.

Once VAX Basic was available, many things were added to the language. I guess
some things that are causing John grief. The thing is, once one starts down a
particular road, it's hard to change, and if things are working, no good reason
to change.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS Software Q1 '23 Update

<tr69fa$2rmdo$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26392&group=comp.os.vms#26392

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 12:13:39 -0500
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <tr69fa$2rmdo$2@dont-email.me>
References: <tq8dgc$r4km$1@dont-email.me>
<660be03d-246e-423c-a2b3-36c54d3759a4n@googlegroups.com> <tqsivt$srer$
<tr4hgr$2ffm6$2@dont-email.me> <tr4i45$80t$1@panix2.panix.com>
<tr4inv$2egm5$4@dont-email.me> <k3nfbeF25uU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 29 Jan 2023 17:13:14 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="bc31521357dd02b4d8b97df8b8273f59";
logging-data="3004856"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rZRmkLcAdlR+OZh00U+DtWHMIXVeC+Mg="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:k57tzE4rH5Mgn8gXbzNeizJgJJA=
In-Reply-To: <k3nfbeF25uU1@mid.individual.net>
 by: Dave Froble - Sun, 29 Jan 2023 17:13 UTC

On 1/29/2023 9:49 AM, bill wrote:
> On 1/28/2023 8:39 PM, Arne Vajhøj wrote:
>> On 1/28/2023 8:28 PM, Scott Dorsey wrote:
>>>> On 1/28/2023 6:19 PM, Johnny Billquist wrote:
>>>>> On 2023-01-28 23:35, Arne Vajhøj wrote:
>>>>>> On 1/28/2023 3:01 PM, Steven Schweda wrote:
>>>>>>>> Consider the case where the numbers represent money.
>>>>>>>
>>>>>>> Who cares what the numbers represent? For example, if you round to
>>>
>>> One of the absolute FIRST things that I was told about floating point
>>> variables in my first programming class was to NEVER use them to represent
>>> money.
>>
>> It is known to be problematic.
>>
>> But there are 3 cases where it happens anyway:
>> - the developer does not care
>
> Wrong developer
>
>> - the language used does not have a decimal type and
>> integers with implied decimal is considered to
>> cumbersome
>
> Wrong language for the job
>
>> - decimal is actually used in general, but certain
>> calculations temporarily move over in floating
>> point (like some interest calculations)
>
> Wrong language for the job
>
> Obviously, all of these can be fixed properly. Guess the concepts of
> right tool for the job and due diligence no longer carry any sway.
>
> bill
>
>

Must be nice to always be right. Even nicer when one doesn't know what one is
talking about.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: VMS Software Q1 '23 Update

<tr6a2v$jo6$1@panix2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26393&group=comp.os.vms#26393

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: 29 Jan 2023 17:23:43 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 12
Message-ID: <tr6a2v$jo6$1@panix2.panix.com>
References: <tq8dgc$r4km$1@dont-email.me> <tr5re6$6bk$1@panix2.panix.com> <tr5rk3$8el$1@panix2.panix.com> <tr68rv$2rjev$1@dont-email.me>
Injection-Info: reader2.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="9424"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Sun, 29 Jan 2023 17:23 UTC

Dave Froble <davef@tsoft-inc.com> wrote:
>
>Trillions of dollars were never an issue. At least for what we were doing.

It's a serious problem in many countries with out-of-control inflation.
My grandfather told me about how when he was a child in Italy, everyone
was a millionaire. "Even the wino on the street was a millionaire!" It
was a few years before I realized that this was not an indication that
the streets were paved with gold.
--scott
--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: VMS Software Q1 '23 Update

<tr6a52$gnf$1@panix2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26394&group=comp.os.vms#26394

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: 29 Jan 2023 17:24:50 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 11
Message-ID: <tr6a52$gnf$1@panix2.panix.com>
References: <tq8dgc$r4km$1@dont-email.me> <tqtubd$16nj8$1@dont-email.me> <tqua <tr69bj$2rmdo$1@dont-email.me>
Injection-Info: reader2.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="5718"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Sun, 29 Jan 2023 17:24 UTC

Dave Froble <davef@tsoft-inc.com> wrote:
>
>What I think might be interesting is, the people working on RSTS/E back in the
>1970s probably aren't around to tell others just how primitive things were.
>Seems some here are having a hard time imagining that.

I had a hard time imagining it in the seventies, so I completely understand.
--scott

--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: VMS Software Q1 '23 Update

<tr6dje$2s9rm$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26395&group=comp.os.vms#26395

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 13:23:42 -0500
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <tr6dje$2s9rm$1@dont-email.me>
References: <tq8dgc$r4km$1@dont-email.me> <tr4q3f$2jlld$1@dont-email.me>
<tr538n$2l4tu$1@dont-email.me> <tr5tjr$2pjrn$1@dont-email.me>
<tr601g$kml$1@panix2.panix.com> <tr6462$2ql47$2@dont-email.me>
<tr688j$2rfv8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 29 Jan 2023 18:23:42 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="85c94694e2923b280908bdfbe0b5f4f1";
logging-data="3024758"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/wNvQp1YQFIW2nCZAlH1wcKcttVpmmrzA="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.7.0
Cancel-Lock: sha1:7ODBJsKGFtZFDWfoMZTKveshQkU=
In-Reply-To: <tr688j$2rfv8$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Sun, 29 Jan 2023 18:23 UTC

On 1/29/2023 11:52 AM, Dave Froble wrote:
> On 1/29/2023 10:42 AM, Arne Vajhøj wrote:
>> On 1/29/2023 9:32 AM, Scott Dorsey wrote:
>>> =?UTF-8?Q?Arne_Vajh=c3=b8j?=  <arne@vajhoej.dk> wrote:
>>>>
>>>> I sort of had guessed that word was the same as on VAX,
>>>> but I don't understand how it can't have a 32 bit integer.
>>>>
>>>> How does one work with file sizes and file position
>>>> in bytes on PDP-11?
>>>>
>>>> I know you don't do C, but I believe C was invented on
>>>> PDP-11.
>>>
>>> I think the issue is with the programming language and not with the
>>> architecture.  And yes, you can use bignum in C, at least under v7 Unix,
>>> and store really really big numbers.
>>
>> So other language & OS combinations did support 32 bit
>> integers on PDP-11?
>>
>> Possible including first version of C.
>
> When was C first available?

1972, Version 2 Unix, PDP-11.

> The problem was, in 1974, we had RSTS/E and Basic+ on PDP-11.  That was
> what was available.  Sure, in later years, there were more options.  As
> far as that goes, we developed what we called "double integer", which
> was two word integers, used in memory as D-float, and stored as a 4 byte
> string.  6 variations gave us whole integers, and 5 variations with 1 to
> 5 digits after the decimal point.  The max values were still limited to
> I believe 8 digits.
>
> What was developed worked.  Later, when discussing with customers the
> choice of using newer capabilities, they asked, "what's the benefit" and
> actually what they had was working.  They were not interested in paying
> to replace something that was working for them.  There was also the
> issue of running the programs on historical data saved on tape.  They
> were not interested in converting the historical data.
>
> And so the old capabilities remained in use, and they did the job.  They
> are still doing the job.

Didn't VAX to Alpha migration cause some issues with D floating?

If I remember correct then Alpha did not fully support D.

Arne

Re: VMS Software Q1 '23 Update

<tr6dol$2s9rm$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26396&group=comp.os.vms#26396

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 13:26:29 -0500
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <tr6dol$2s9rm$2@dont-email.me>
References: <tq8dgc$r4km$1@dont-email.me> <tr5tjr$2pjrn$1@dont-email.me>
<tr601g$kml$1@panix2.panix.com> <tr6462$2ql47$2@dont-email.me>
<tr68ii$jq9$1@panix2.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 29 Jan 2023 18:26:29 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="85c94694e2923b280908bdfbe0b5f4f1";
logging-data="3024758"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ofLfagUHYLgTM6z0RurDRsgt3PVwYdLA="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.7.0
Cancel-Lock: sha1:VgS8nQmaas+k9kbD3ENWtjQdee0=
In-Reply-To: <tr68ii$jq9$1@panix2.panix.com>
Content-Language: en-US
 by: Arne Vajhøj - Sun, 29 Jan 2023 18:26 UTC

On 1/29/2023 11:57 AM, Scott Dorsey wrote:
> =?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne@vajhoej.dk> wrote:
>> On 1/29/2023 9:32 AM, Scott Dorsey wrote:
>>> I think the issue is with the programming language and not with the
>>> architecture. And yes, you can use bignum in C, at least under v7 Unix,
>>> and store really really big numbers.
>>
>> So other language & OS combinations did support 32 bit
>> integers on PDP-11?
>
> That's not an integer, that's a long. And yes, many languages supported
> longints on pdp-11s.

By integer I did not mean int but all the integer types
(short/int/long/whatever).

Arne

Re: VMS Software Q1 '23 Update

<tr6hhe$2s9rm$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26397&group=comp.os.vms#26397

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS Software Q1 '23 Update
Date: Sun, 29 Jan 2023 14:30:54 -0500
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <tr6hhe$2s9rm$3@dont-email.me>
References: <tq8dgc$r4km$1@dont-email.me>
<660be03d-246e-423c-a2b3-36c54d3759a4n@googlegroups.com> <tqsivt$srer$
<tr4hgr$2ffm6$2@dont-email.me> <tr4i45$80t$1@panix2.panix.com>
<tr4inv$2egm5$4@dont-email.me> <k3nfbeF25uU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 29 Jan 2023 19:30:54 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="85c94694e2923b280908bdfbe0b5f4f1";
logging-data="3024758"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+eniqzrg/nl1scXRquOeT8wGoKLJkgiXo="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.7.0
Cancel-Lock: sha1:Y/D28dVUDNJ7n+Jh/lgbfM00Aa4=
In-Reply-To: <k3nfbeF25uU1@mid.individual.net>
Content-Language: en-US
 by: Arne Vajhøj - Sun, 29 Jan 2023 19:30 UTC

On 1/29/2023 9:49 AM, bill wrote:
> On 1/28/2023 8:39 PM, Arne Vajhøj wrote:
>> On 1/28/2023 8:28 PM, Scott Dorsey wrote:
>>> One of the absolute FIRST things that I was told about floating point
>>> variables in my first programming class was to NEVER use them to
>>> represent
>>> money.
>>
>> It is known to be problematic.
>>
>> But there are 3 cases where it happens anyway:
>> - the developer does not care
>
> Wrong developer

I agree.

>> - the language used does not have a decimal type and
>>    integers with implied decimal is considered to
>>    cumbersome
>
> Wrong language for the job

I agree, but 40 years ago there were a lot of common
languages without decimal type. Probably easier today
as most common languages has decimal - C and C++ being the
exception.

>> - decimal is actually used in general, but certain
>>    calculations temporarily move over in floating
>>    point (like some interest calculations)
>
> Wrong language for the job

I think it would be more risky to do the interest calculations
in decimal than in floating point. Decimals could easily
loose precision if developer not extremely careful about
decimals.

> Obviously, all of these can be fixed properly.  Guess the concepts of
> right tool for the job and due diligence no longer carry any sway.

Probably more an old times problem than a today problem. Newer
languages just have it even if they are not targeted towards
real business applications.

Arne

Pages:123456
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor