DSPRelated.com
Forums

arithmatic

Started by btfdesigns October 2, 2003
I am using the DSP56F803. I am accumulating three count rates and I
need to know the ratio of these count rates in this manner.
ratio = cnt1 / (cnt2 + (cnt3/2))
The count rates are such that ratio will always be less than 1. How
do I get a value for ratio other than zero?