fixed-point: don't truncate 32-bit arg to MULT16_32_Q15
The 32-bit arg and return value have one bit more than required to represent +/-32767 with 15 fractional bits. Keeping the most significant bit allows saturation for 16-bit conversion to sometimes be delayed until after these operations.
Showing
Please register or sign in to comment