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

Back to Subject List

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


 
#8214 - RE: Volt=(165/255)*17.5
Hi Dave,

There is no need to do that in floating point!
Do you know how to divide and multiply binary? If you do you know all there is to know. I bet you don't need 10 decimals accuracy, so fixed point calculations will do just as well.

To give you a small hint. Multiplying with 17.5 is exactly the same as mulitplying with 35 and then divide by 2, which is shifting the number 1 bit to the right.

Good luck

List of 8 messages in thread
TopicAuthorDate
Volt=(165/255)*17.5            01/01/70 00:00      
RE: Volt=(165/255)*17.5            01/01/70 00:00      
RE: Volt=(165/255)*17.5            01/01/70 00:00      
RE: Volt=(165/255)*17.5            01/01/70 00:00      
RE: Volt=(165/255)*17.5            01/01/70 00:00      
RE: Volt=(165/255)*17.5            01/01/70 00:00      
RE: Volt=(165/255)*17.5            01/01/70 00:00      
RE: Volt=(165/255)*17.5            01/01/70 00:00      

Back to Subject List