Declaration - Freescale Semiconductor DSP56800E User Manual

Mlib
Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

MLIB_MsuSat
2.23 MLIB_MsuSat
The
MLIB_MsuSat
functions return the fractional product of two multiplicands
subtracted from the input accumulator. The function saturates the output. See the
following equation:
2.23.1 Available versions
This function is available in the following versions:
• Fractional output - the output is the fractional portion of the result; the result is
within the range <-1 ; 1). The result may saturate.
The available versions of the
Function name
MLIB_MsuSat_F16
frac16_t
MLIB_MsuSat_F32lss
frac32_t
MLIB_MsuSat_F32
frac32_t

2.23.2 Declaration

The available
MLIB_MsuSat
54
Equation 21. Algorithm formula
MLIB_MsuSat
Table 2-23. Function versions
Input type
Accum.
Mult. 1
Mult. 2
frac16_t
frac16_t
frac16_t
frac16_t
frac32_t
frac32_t
functions have the following declarations:
MLIB User's Guide, Rev. 2, 10/2015
function are shown in the following table.
Result
type
frac16_t
The upper 16-bit portion [16..31] of the fractional
product (of two 16-bit fractional multiplicands) is
subtracted from a 16-bit fractional accumulator.
The output is within the range <-1 ; 1).
frac32_t
The 32-bit fractional product (of two 16-bit
fractional multiplicands) is subtracted from a 32-bit
fractional accumulator. The output is within the
range <-1 ; 1).
frac32_t
The upper 32-bit portion [32..63] of the fractional
product (of two 32-bit fractional multiplicands) is
subracted from a 32-bit fractional accumulator.
The output is within the range <-1 ; 1).
Description
Freescale Semiconductor, Inc.

Advertisement

Table of Contents
loading

Table of Contents