Floating Point Numbers in Spin Language
B.ASHISH
Posts: 28
Please tell us how to work with floating point numbers in Spin language.We actually want to pass floating point numbers as arguments in Cos functions.
Thank You in advance.
Thank You in advance.
Comments
But the simple realities that computers are base 2 machines and tend to be interger friendly is likely to guide you toward avoiding floating point calculations as much as possible and to try to do as much with base 2 and interger math. At the end of this, results can be converted to fixed point or floating point output.
This is not just about the Propeller. It is about any computer is better used by limiting floating point. But often beginners think that floating point is the most direct approach to getting the results they want. I suppose it is because the common calculator relies heavily on floating point display.