C/C++ Compiler Language Extensions
Long subtract
fract32 L_sub (fract32, fract32)
This function returns the 32-bit saturated result of the subtraction of two
32-bit parameters (first-second).
Long subtract with carry
fract32 L_sub_c (fract32, fract32)
This function performs 32-bit subtraction of the two input parameters.
Uses the
Carry
Compose long
fract32 L_Comp (fract16, fract16)
This function composes a
(first parameter) and low (second parameter) components. The sign is
provided with the low half, the result is calculated to be:
high<<16 + low<<1
Multiply two longs
fract32 Mpy_32 (fract16, fract16, fract16, fract16)
This function performs the multiplication of two
provided as high and low half parameters. The result returned is calculated
as:
Res = L_mult(hi1,hi2);
Res = L_mac(Res, mult(hi1,lo2),1);
Res = L_mac(Res, mult(lo1,hi2),1);
Multiply short by a long
fract32 Mpy_32_16 (fract16, fract16, fract16)
1-118
flag as additional input when using the ETSI flag variables.
fract32
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
type value from the given
fract32
for ADSP-219x DSPs
high
fract16
type variables,
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?