AnsweredAssumed Answered

Floating point calculations

Question asked by rahul krishna on Jul 19, 2015
Latest reply on Aug 10, 2015 by ZhangJennie

i found in my project that floating point calculations are not supported as it was not compiling and i changed it by making it integer division and multiplication. Now my doubt is if i return the values as float and do multiplication and division something like i am doing at run time. How does the compiler handle this? Will i get something like segmentation fault and the processor will reset? Related question is if i add the floating computation. How much additional code will get added by adding all the libraries? Please help. I am using s12x.

Outcomes