Hi,
When I read the description of recip16 of DSPLIB C64, it said that the bit (LSB) could carry over and change rexp. When does this happen?
Could you give me a little more explanation?
Thanks,
...............
The fractional portion rfrac is returned in Q.15
format. Since the reciprocal is always greater than 1, it returns an exponent
such that:
(rfrac[i] * 2rexp[i]) = true reciprocal
The output is accurate up to the least significant bit of rfrac, but note that this
bit could carry over and change rexp. For a reciprocal of 0, the procedure will
return a fractional part of 7FFFh and an exponent of 16.