Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

◆ nrf_dsp_f24_addx()

nrf_dsp_f24_t nrf_dsp_f24_addx ( uint16_t x_man,
int8_t x_exp,
uint8_t x_sign,
uint16_t y_man,
int8_t y_exp,
uint8_t y_sign )

#include <include/nrf_edgeai/dsp/support/nrf_dsp_f24.h>

Extended Float24 addition function (x + y) -> z.

Warning
To perform addition, the mantissa and exponents of X and Y must be bit aligned
Parameters
[in]x_manMantissa of first argument X
[in]x_expExponent of first argument X
[in]x_signSign byte of first argument X
[in]y_manMantissa of second argument Y
[in]y_expExponent of second argument Y
[in]y_signSign byte of second argument Y
Returns
nrf_dsp_f24_t Float24 result of addition