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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/16/01 16:15
Read: times


 
#17700 - RE: Multiplication 2 bytes by 0.034146
Easy.

You're actually taking your 9 bit byte and multiplying it by 29.28600715

If you decompose your table of 512 possible bytes and the desired result, you can see that you merely need to multiply the result by 29 or 30 and then add or subtract from a very regular adjustment series from that product and the desired true result.

The spreadsheet suggests that the adjustment series alters by 3 then 4 sets per accumulating increment. This is easily converted into a quick algorithm fed off of your input byte.

You could decompose the mapping even better through the spreadsheet, but I don't want to get into hard math. I don't even know how many here would understand what a number series is and how to compute it.

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