Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/17/01 10:46
Read: times


 
#17720 - RE: Multiplication 2 bytes by 0.034146
If you have plenty of code space, you could just use a lookup table.
Crude but effective, it'll be quick, and has the advantage that all lookups will take the same time.
You could probably reduce the table size by discarding some of the least significant bits from the input.

But I think Moses' suggestion with the 18-record table is really neat!
http://www.8052.com/forum/read.phtml?id=17711&top=


List of 16 messages in thread
TopicAuthorDate
Multiplication 2 bytes by 0.034146            01/01/70 00:00      
RE: Multiplication 2 bytes by 0.034146            01/01/70 00:00      
RE: Multiplication 2 bytes by 0.034146            01/01/70 00:00      
RE: Multiplication 2 bytes by 0.034146            01/01/70 00:00      
RE: Multiplication 2 bytes by 0.034146            01/01/70 00:00      
RE: Multiplication 2 bytes by 0.034146            01/01/70 00:00      
RE: Multiplication 2 bytes by 0.034146            01/01/70 00:00      
RE: Multiplication 2 bytes by 0.034146            01/01/70 00:00      
RE: Multiplication 2 bytes by 0.034146            01/01/70 00:00      
RE: Multiplication - Lance            01/01/70 00:00      
RE: Multiplication 2 bytes by 0.034146            01/01/70 00:00      
RE: Multiplication 2 bytes by 0.034146            01/01/70 00:00      
RE: Multiplication 2 bytes by 0.034146            01/01/70 00:00      
RE: Multiplication 2 bytes by 0.034146            01/01/70 00:00      
RE: Multiplication 2 bytes by 0.034146            01/01/70 00:00      
RE: Multiplication 2 bytes by 0.034146            01/01/70 00:00      

Back to Subject List