Long multiplication: Difference between revisions

Content added Content deleted
Line 5,279:
"/ as the language does not specify, how many bits are used to represent
"/ SmallIntegers, and when the VM uses LargeInts.
"/ Lets assume, we run on a 162-digit bitdecimal machine (smile).
"/ So lets work hard to avoid any convenient VM support,
"/ by doing decimal arithmetic (running on a decimal machine from the 1940's1940s)
"/ and only allow 0..99 in a word. (assuming it has a 2*2->4 digit multiply available)
"/ (smile: remember the Knuth's MIX machine?)
 
"/ the code below should never ever been taken serious