AnsweredAssumed Answered

Floating point division

Question asked by Oliver Hobson on May 2, 2013
Latest reply on May 3, 2013 by ZhangJennie



I am using a GT16A microcontroller and am having issues when dividing 2 numbers that would form a floating point number. There is no problem with addition, subtraction and multiplication.


For example, 20/8 gives me a value of 2.0 and not the expected 2.5


I have tried increasing the stack size and I still haven't managed to figure out what is causing the problem. Any ideas?