Function xf::cv::Inverse

Function Documentation

static unsigned int xf::cv::Inverse(unsigned short x, int M, char *N)

Funtion to find 1/x. x is QM.(16-M) fixed point format. The value returned is of 16-bit wide with fractional part equal to N i.e. Q(16-N).N. This works only for a 16-bit fixed point representation of x.