The early 60s Friden mechanical calculator could be semi-destroyed by taking the square root of a 20-digit product when the carriage was too close to the wall. Hundreds of dollars when dollars were worth something. --rwg Flashback: This was at a Naval Air Development Center, divided into several large Labs. There was an Airborne Electronics Lab where they worked (rather unsuccessfully) on flat panel displays, a gyro navigation lab, and a lab with a human centrifuge where the Mercury Astronauts trained. There was also ACL, the "Airborne" Computer Lab. My lab was Antisubmarine Warfare Systems Analysis. About all we did was compute. On mechanical calculators! Because ACL had a political stranglehold forbidding the other labs from owning computers! If you needed a computation, you submitted it to ACL. And _months_ later, you got your pathetic results. Because they were a bunch of government fossils who only did plugboard analog! The stranglehold finally broke in 1962, when my lab got its first computer--a PB250 with delay-line memory, programmed in octal, with seven ways to get a quotient|remainder wrong, but a perfect square root instruction! It is outrageous that square root took decades to show up in mainstream instruction sets. Logic designers apparently failed to notice how simple the schoolboy algorithm is in binary. So it didn't get into C. And who would design an instruction not in C? On 2018-06-10 12:14, Keith F. Lynch wrote:
"David Wilson" <davidwwilson@comcast.net> wrote:
Tomas Rokicki wrote:
I suspect the laws of mathematics may have changed over those 34 years.
Or at least the fines and jail terms.
I once got in serious trouble for breaking the law against dividing by zero.
When I was a small child, my father let me visit his office and play with his electro-mechanical calculator. He warned me not to divide by zero, but I did it anyway. The machine started grinding away, and kept going and going. Pulling the plug made it stop, but it started again as soon as it was plugged in again. He told me it had to be sent back to the factory for repairs.
For youngsters who have no idea what I'm talking about, I found a video of someone doing the same, only on a machine that has an interrupt switch: https://www.youtube.com/watch?v=7Kd3R_RlXgc
For youngsters who have no idea what I'm talking about, I found a video of someone doing the same, only on a machine that has an interrupt switch: https://www.youtube.com/watch?v=7Kd3R_RlXgc