Hi
Hello everyone,I use S12ZVML32 for oil pump,How to do floating point operation in Q format,
I use MC9S12ZVM_AMMCLIB ,
What functions should be used for multiplication and division of tfrac16 format?
Solved! Go to Solution.
Hi,
I'm not sure if I'm getting your point correctly, but here is what you can do:
If you are referring to the IEEE754 floating point operation, these are not supported by the AMMCLib for S12ZVM (see the User Guide, chapter 1.2). All "floating point" operations on S12ZVM are done in normalized format and represented by tFrac16 or tFrac32. More details are available in the User Guide.
Best regards,
Matej
Hi,
I'm not sure if I'm getting your point correctly, but here is what you can do:
If you are referring to the IEEE754 floating point operation, these are not supported by the AMMCLib for S12ZVM (see the User Guide, chapter 1.2). All "floating point" operations on S12ZVM are done in normalized format and represented by tFrac16 or tFrac32. More details are available in the User Guide.
Best regards,
Matej