What are the (mathematical) restrictions of a TMS320C6713 DSP?
Its been a while since I've worked on DSP's from TI, to answer, yes it will do this and it will do it fast. If you intend to do lots of these operations, you will have to account for I\O time to send and recieve. They will do 256-bit operations (VLIW). The DSP's also have a lot of special registers and functions you will want to get familiar with this document. The power of a DSP is better utilized when you optimize functions with assembly, compilers don't do a great job. To make your function run fast, you will need to optimize the mod\remainder function as this function does not have a direct assembly equivalent. You will also want to look at how f_n0, f_n1 and f_n2 are being stored in memory. This is assumming you want this to run very fast.

The best way would be to compile the function and load it on the DSP, then go through and optimize the assembly by hand.