1130 Scientific Subroutine Package Programmer's Manual

32 views
Skip to first unread message

Alistair Cooper

unread,
May 29, 2025, 10:30:38 AMMay 29
to IBM1130
Hi,
Thanks for letting me join the group.

Does anyone have a full listing for the subroutine SIMQ?

The 1130 Scientific Subroutine Package Programmer's Manual has a crease on the printout
which makes a few lines at the bottom unreadable.

Untitled-1.jpg
Thanks.

Carlos Abramo

unread,
May 29, 2025, 11:00:15 AMMay 29
to ibm...@googlegroups.com
Alistair, 

I used to have a copy of an original manual, but dusing my last movement I lost track of it.
Should I find it, will scan it and put it available to the team.

Regards,
Carlos

--
IBM1130 discord channel: https://discord.gg/nrFEMt48mE
---
You received this message because you are subscribed to the Google Groups "IBM1130" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibm1130+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ibm1130/0cd0c8f0-0711-45f5-87ab-d8b5c8adc1c5n%40googlegroups.com.

Carlos Abramo

unread,
May 29, 2025, 1:50:14 PMMay 29
to ibm...@googlegroups.com
Alistair,

Searching on GitHub, I found an SSP (https://github.com/Beliavsky/Scientific-Subroutine-Package) and extracted from it the attached version.

Hope this helps.

Regards,
Carlos

Note: It has more comments, includes usage and deck numbering differs, but code is the same.
SIMQ.for

Alistair Cooper

unread,
May 30, 2025, 6:59:42 AMMay 30
to ibm...@googlegroups.com

Thanks Carlos, but I think all the manuals are the same. The listing shown is an image from a creased printout.
I hope I'm wrong though.
Alistair


Alistair Cooper

unread,
May 30, 2025, 6:59:52 AMMay 30
to IBM1130
Courtesy of GLEN HERRMANNSFELDT
A link to the Version 3 of 1130 Scientific Subroutine Package Programmer's Manual PDF

Thanks Glen

Alistair Cooper

unread,
May 30, 2025, 7:00:03 AMMay 30
to IBM1130
Thanks Carlos, That's Brilliant.

On Thursday, May 29, 2025 at 6:50:14 PM UTC+1 carlos...@gmail.com wrote:

Paul Anagnostopoulos

unread,
May 31, 2025, 8:22:15 AMMay 31
to IBM1130
That link gets me to the S/360 Scientific Subroutine Package.

~~ Paul

Carlos Abramo

unread,
May 31, 2025, 12:09:14 PMMay 31
to ibm...@googlegroups.com
Correct, which is almost same as the one gor 1130. 

Actually, differences are somehow described in one on the 1130 SSP documents. 

Regardrs
Carlos 

Alistair Cooper

unread,
May 31, 2025, 12:55:36 PMMay 31
to ibm...@googlegroups.com

Yes the RNDU Subroutine is different.


John Doty

unread,
May 31, 2025, 1:19:43 PMMay 31
to ibm...@googlegroups.com


On May 31, 2025, at 12:20 PM, Alistair Cooper <agr...@gmail.com> wrote:

Yes the RNDU Subroutine is different. 



And the 16 bit version for the 1130 is even worse at making random numbers than the 32 bit version for the 360.

John Doty



Peter Diehr

unread,
May 31, 2025, 3:05:54 PMMay 31
to ibm...@googlegroups.com
Re: Random Number routines.

One of the professors at Eastern Michigan University ran a long series of statistical tests on various random number generation techniques; I did all of the programming for him. Probably 1970, and run on our IBM 1130 computer.  He was dissatisfied with all of his results, and contacted IBM for advice; they sent him a couple of copies of "IBM Data Processing Techniques", Form C20-8011, with the title "Random Number Generation and Testing", copyright 1959.

The paper summarizes a lot of research, but the end result was a recommendation for a very fast technique, which generates a very long sequence, which then repeats itself.  This is the power residue method, which can be implemented through just a few instructions, primarily a multiplication followed by a shift to eliminate the low-order bits. For the IBM 1130, I wrote an assembly language routine which was called IRAND, a function whose only input was a seed number which would control the entire sequence, and a return value, which consisted of the high order bits of the current multiplication.  This result was stored internally, and was fed into the next multiplication

This routine folds over (repeats) in k-space for multidimensional applications, but was very fast, and was shared with many other computing centers, so somebody may still have the source code.  We used it to replace all of the previous random number generators in our common libraries, based on the aforementioned professor's tests.

I still have a copy of the IBM manual; I just located it among my personal papers. The publication is twelve pages long.


Best regards, Peter Diehr

PS: My very last physics project was leading the design and construction of a Quantum Random Number Generator, based on a 400 nm wavelength laser, and the generation of entangled photon pairs. The randomness was based on the temporal intervals between our four single-photon detectors.  There were four because the entangled photon pairs were sorted by polarization state. I mention this only because I always seemed to be working with random numbers ever since early in my career!

--
IBM1130 discord channel: https://discord.gg/nrFEMt48mE
---
You received this message because you are subscribed to the Google Groups "IBM1130" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibm1130+u...@googlegroups.com.

Joseph Ambrose

unread,
Jun 2, 2025, 11:32:52 AMJun 2
to ibm...@googlegroups.com
Have you looked at Bitsavers? 

Here's a link to the subroutines directory


Alistair Cooper

unread,
Jun 2, 2025, 12:24:53 PMJun 2
to ibm...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages