AnsweredAssumed Answered

how to do arithmetic operation using tFrac16 and tS16

Question asked by Ke Li on Apr 24, 2018
Latest reply on Apr 30, 2018 by Petr Zelinka

Hi, there,


I am using AMMCLIB on S12ZVML micro. I will need to the calculation as below:

(tU16 - tU16) * tFrac16 / tS16


I have tried convert tU16 to tS16, tFrac16 to tS16, do the math and convert the result back to tFrac16. It didn't work. Please advise how to do it or if there is a walk around.


Thanks, Ke