1.4.4.49 libq_q31_DepositL_q15 Function

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

Description

Function libq_q31_DepositL_q15:

Composes a 32-bit fractional value by placing the 16-bit Fraction input value into the lower 16-bits of the 32-bit composite value.

The 16-bit MSBs of the composite output are sign extended. This is a bit-for-bit placement of input 16-bits into the bottom portion of the composite 32-bit result with sign extention. This function relates to the ETSI L_deposit_l function.

Returns

q31 result - SignExtended 16-bit MSBs and a Value in lower 16-bit LSBs

C

q31 libq_q31_DepositL_q15 (q15);