1.4.4.48 libq_q31_DepositH_q15 Function

Place 16 bits in the upper half of 32 bit word.

Description

Function libq_q31_DepositH_q15:

Composes a 32-bit fractional value by placing the input 16-bit fractional value in the composite MSBs and zeros the composite 16-bit LSBs This is a bit-for-bit placement of input 16-bits into the upper part of 32-bit result.

This function relates to the ETSI L_deposit_H function.

Returns

q31 result 16-bits of a in upper MSBs and zeros in the lower LSBs

C

q31 libq_q31_DepositH_q15 (q15);