#include <cruntime.h>uint16_t __uint16_mod(uint16_t dividend, uint16_t divisor);
__uint16_mod divides dividend by divisor and returns the signed remainer as the result.
__uint16_mod is a provided on all implementations of CrossWorks.