• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Programming stellar differential equations

zeitghost

More fingers than teeth
Joined
Jul 6, 2005
Messages
35,983
Likes received
2,999
Thanks received
1,077
Presumably in machine code:

Programming in the early days of the computer age - BBC News

Shoulders of giants. :smokin

https://en.wikipedia.org/wiki/Electronic_delay_storage_automatic_calculator

he subroutine concept led to the availability of a substantial subroutine library.

By 1951, 87 subroutines in the following categories were available for general use:

floating point arithmetic; arithmetic operations on complex numbers; checking; division; exponentiation; routines relating to functions; differential equations; special functions; power series; logarithms; miscellaneous; print and layout; quadrature; read (input); nth root; trigonometric functions; counting operations (simulating repeat until loops, while loops and for loops); vectors; and matrices.

https://en.wikipedia.org/wiki/Kathleen_Booth

https://answers.yahoo.com/question/index?qid=20110715030927AAEXgLe

And the first memory drum:

http://www.dcs.bbk.ac.uk/site/assets/files/1029/50yearsofcomputing.pdf

http://www.vullum.io/timeline/programming-languages/
 
Last edited: 16:04
I always had to get the book out to look up the subroutine if I wanted to do division in 6502 assembly language :ohwell

My favourite was the 17 year old guy to whom we'd subcontracted a C64 game conversion. He was falling way behind, and in the end the boss paid him off and got one of our colleagues to finish off the job. One of the gems uncovered in the code was where he added a 1000 point bonus to the (16 bit) score by looping 1000 times calling a subroutine that added 1. Unsurprisingly, this took about half a frame to execute on a ~1MHz 6510 and was one of the many causes of serious jankiness in his code :laugh
 
Mrs Von Neumann invented assembler, IIRC.
 

Advertisers

Back
Top