Thanks for those cycle counts.
Hmm, it strikes me that a 10-times-table wouldn't be very large and might help collapse some of those repeated additions.
Quote:
Naperian log tables typically are published to five significant digits, so a fairly complete table could be a practical size.
Ah, I think you didn't read the patent! By computing the log/antilog you can operate at full precision. I can't quite see a table being a good tradeoff.
Quote:
...the exactness of decimal arithmetic
Careful! It's inexact as soon as you have general division (or even multiplication if you were working on say 2 decimal places) - I recently found an article in an HP newsletter which put it well:
Quote:
Another effect of doing BCD arithmetic is the "perceived accuracy" of the results. The perceived accuracy comes from the avoidance of binary arithmetic anomalies, which most people are not used to. The anomalies in the base 10 system are commonplace; most people understand them and know how to deal with them. (For instance, 3 times 1/3 not equaling one because 1/3 is not exactly representable with decimal numbers.) In the binary system different anomalies occur. For example, 0.01 (base 10) cannot be represented exactly in the binary number system, so if 0.01 is used on a binary machine for a loop counter, an incorrect number of loops results to the frustration of a user who is unfamiliar with binary numbers.
(from
http://www.ebbsoft.com/hp/hp-cpu.htm which is garish, so try
http://www.readability.com/articles/f2p9aaxc)
The advantages of BCD lie mostly in the ease of display and the ease of addition: ideal for point of sale or calculator. Don't make the mistake of thinking that decimal is in any way more true to the nature of numbers than binary is.
Cheers
Ed