Tool/software: TI C/C++ Compiler
I'm having the hardest converting an int32_t to float. I didn't think it should be that hard.
For example, I have the following ratio:
signed int32 Numerator = 2
signed int32 Denominator = 583
Ratio = Numerator / Denominator = 0.003430 .
However, in the tm4c1290ncpdt-128-tqfp, Ratio = 0.000000 (always).
How do I get the right number?