I'm sorry you disapprove. I did not mean "math" in general, but rather the implementation Freescale engineers have done for motor control math in our microcontrollers, some of it is control text books some of it is actually invented by Freescale, but in either case, the implementation is Freescale-only and we have decided to keep it close-sourced.
If you wish to continue this discussion please open a separate thread or if you need the source code for a specific purpose, please talk to your Freescale sales rep.
Within this thread we should focus on TC's original issue.
Thanks.