A Conversation for Russian Peasant Multiplication [Peer Review version]
Peer Review: A22519226 - Russian Peasant Multiplication
Icy North Started conversation May 9, 2007
Entry: Russian Peasant Multiplication - A22519226
Author: Icy North - U225620
This one's dedicated to SWL - I know how much he likes these.
A22519226 - Russian Peasant Multiplication
lil ~ Auntie Giggles with added login ~ returned Posted May 9, 2007
A22519226 - Russian Peasant Multiplication
Icy North Posted May 9, 2007
Thanks Bel,
My original choice didn't make it past the profanity filter.
I hope the tables make sense. This is something that's dead easy to explain on a blackboard, but it's less easy rendering it into a guide entry.
A22519226 - Russian Peasant Multiplication
Icy North Posted May 14, 2007
I'm not in the habit of bumping PR entries, but are there any further comments?
I was half-expecting someone from the Maths Forum to rip it to shreds.
I think it might end a bit suddenly. Do you think it would benefit from a closing sentence to say why the computer's multiplication method is similar, or is this obvious?
Icy
A22519226 - Russian Peasant Multiplication
Gnomon - time to move on Posted May 14, 2007
I don't understand why you say that numbers in binary are generally stored in the reverse order to the way we would expect. I'd dispute this. When you store a number like 57 in the computer, it is stored as 8 independent bits, but it is completely arbitrary what way you choose to write this when you are talking about it. It is not in any particular order in the computer. Let's call the eight bits in the computer A, B, C, D, E, F, G and H. So the number is stored as A=0, B=0, C=1, D=1, E=1, F=0, G=0 and H=1. This could be written 00111001. Alternatively, we could label the bits the other way around and write it 10011100. Since the first of these corresponds to standard binary, it is the one that makes most sense and the only one I have ever seen in any book on computers, in the 29 years I have worked with them.
A22519226 - Russian Peasant Multiplication
Icy North Posted May 14, 2007
Thanks Gnomon,
If my memory hasn't failed me, then the ordering comes in when you talk about a byte being loaded into a register, and the meaning of standard assembler instructions like 'shift left' and 'shift right'. I'll try to find a link which confirms this...
A22519226 - Russian Peasant Multiplication
Icy North Posted May 14, 2007
Well, the first few sites I found support your view, Gnomon, so I'll go ahead and reverse the order. (I must have learned it using some non-standard version of assembler)
I'm pleased that this is the case - it makes the comparison far easier to follow.
A22519226 - Russian Peasant Multiplication
Icy North Posted May 14, 2007
OK, I think that's fixed. I've added leading zeroes for the contents of the computer registers, as I think it looks better in this configuration.
A22519226 - Russian Peasant Multiplication
Gnomon - time to move on Posted May 14, 2007
The very last number of the piece should be 1331 rather than 1131.
A22519226 - Russian Peasant Multiplication
Gnomon - time to move on Posted May 14, 2007
Sorry, it should be 1,311.
A22519226 - Russian Peasant Multiplication
McKay The Disorganised Posted May 17, 2007
Nice one Icy - it might be clearer if you talk about 'rounding down' rather than ignoring fractions - but that might just be me.
A22519226 - Russian Peasant Multiplication
Icy North Posted May 17, 2007
Yes, I think I prefer to stick with 'ignoring fractions' too. I might round down decimals, I suppose, but I think they would have to be in the context.
A22519226 - Russian Peasant Multiplication
DaveBlackeye Posted May 17, 2007
I built a binary multiplier once as a uni exercise. Long time ago though; can't really remember the details.
Nice entry though. No comments
Key: Complain about this post
Peer Review: A22519226 - Russian Peasant Multiplication
- 1: Icy North (May 9, 2007)
- 2: lil ~ Auntie Giggles with added login ~ returned (May 9, 2007)
- 3: aka Bel - A87832164 (May 9, 2007)
- 4: Icy North (May 9, 2007)
- 5: aka Bel - A87832164 (May 9, 2007)
- 6: Icy North (May 9, 2007)
- 7: aka Bel - A87832164 (May 9, 2007)
- 8: Icy North (May 14, 2007)
- 9: Gnomon - time to move on (May 14, 2007)
- 10: Icy North (May 14, 2007)
- 11: Icy North (May 14, 2007)
- 12: Icy North (May 14, 2007)
- 13: Gnomon - time to move on (May 14, 2007)
- 14: Gnomon - time to move on (May 14, 2007)
- 15: aka Bel - A87832164 (May 14, 2007)
- 16: Icy North (May 14, 2007)
- 17: McKay The Disorganised (May 17, 2007)
- 18: Gnomon - time to move on (May 17, 2007)
- 19: Icy North (May 17, 2007)
- 20: DaveBlackeye (May 17, 2007)
More Conversations for Russian Peasant Multiplication [Peer Review version]
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."