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 13:12
Read: times


 
#8221 - RE: Volt=(165/255)*17.5
A little trick for integer Math
First multiplay all and at least divide it. (So you have a precise result)
for example.(1)
Volt=165*17.5/255 check it out its the same !

or you must multiply for more precision
for example.(2)
Volt=((165*1000/255)*17.5)/1000
or shift it binar instead of *1000 and /1000

Sascha


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