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

◆ nrf_dsp_f24_to_i32()

int32_t nrf_dsp_f24_to_i32 ( nrf_dsp_f24_t x,
int8_t required_exp )

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

Convert Float24 to INT32 value.

Parameters
[in]xFloat24 value to convert
[in]required_expRequired exponent bit shift, affect fractional part accuracy
Returns
int32_t Converted INT32 value