MLIB_Sub4Sat
2.57 MLIB_Sub4Sat
The
MLIB_Sub4Sat
minuend. The function saturates the output. See the following equation:
2.57.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
Minuend
MLIB_Sub4Sat_F16
frac16_t
MLIB_Sub4Sat_F32
frac32_t
2.57.2 Declaration
The available
MLIB_Sub4Sat
frac16_t MLIB_Sub4Sat_F16(frac16_t
f16Sub3)
frac32_t MLIB_Sub4Sat_F32(frac32_t
f32Sub3)
100
functions return the subtraction of three subtrahends from the
Equation 55. Algorithm formula
MLIB_Sub4Sat
Table 2-57. Function versions
Input type
Sub. 1
Sub. 2
frac16_t
frac16_t
frac32_t
frac32_t
functions have the following declarations:
f16Min,
frac16_t
f32Min,
frac32_t
MLIB User's Guide, Rev. 2, 10/2015
function are shown in the following table.
Result
type
Sub. 3
frac16_t
frac16_t
Subtraction of three 16-bit fractional
subtrahends from 16-bit fractional
minuend. The output is within the range
<-1 ; 1).
frac32_t
frac32_t
Subtraction of three 32-bit fractional
subtrahends from 32-bit fractional
minuend. The output is within the range
<-1 ; 1).
f16Sub1,
frac16_t
f32Sub1,
frac32_t
Description
f16Sub2,
frac16_t
f32Sub2,
frac32_t
Freescale Semiconductor, Inc.