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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/07/08 09:31
Read: times


 
Msg Score: -1
 -1 Didn't Search First
#159882 - Help need!
I need to calculate this formula without using float or double (in Keil C, using 89S52):

R=C*(V/(2*D))

where V is in range from 20-60000 (read Timer0 count)
D is in range from 100-1 000 000
and C is real constant 2.474.

Does any have problem like that or solutions!
If you have suggestions to find in other sites it will be good!

I try some solutions but i can't find correct way to do that!

List of 6 messages in thread
TopicAuthorDate
Help need!            01/01/70 00:00      
   be more specific            01/01/70 00:00      
      That is correct!            01/01/70 00:00      
   32-bit fixed point            01/01/70 00:00      
   You could solve it using long            01/01/70 00:00      
      Re: You could solve it using long            01/01/70 00:00      

Back to Subject List