I’m not the math uncle, but a real one told me this:
“use fixed point instead of floating
point to do multiplication, division,
summation, trigonometry and
integration”
So instead of using double or float data types, what shall I do? Does anyone have a handy snippet or link that shows the difference for non-math-uncles?
Check the below for link for fixed point, I’m sure will be useful for you …
http://cnx.org/content/m11054/latest/
http://www.digitalsignallabs.com/fp.pdf