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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/11/04 13:07
Read: times


 
#72373 - RE: Division
Responding to: ???'s previous message
You would actually want to realize that this leads to a fractional result. Divide operations on integers only to integers. So you need to scale your dividend by say 100 and the use a 16-bit by 16-bit divide. The quotent will then be understood to be 100 times larger than its actual integer represented value.

Look in the Code Library here for higher resolution math routines.

Michael Karas


List of 10 messages in thread
TopicAuthorDate
Division            01/01/70 00:00      
   RE: Division            01/01/70 00:00      
   RE: Division            01/01/70 00:00      
      RE: Division            01/01/70 00:00      
         RE: Division            01/01/70 00:00      
   RE: Division            01/01/70 00:00      
      RE: Division            01/01/70 00:00      
   RE: Division            01/01/70 00:00      
   RE: Division            01/01/70 00:00      
   RE: Division            01/01/70 00:00      

Back to Subject List