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

◆ clip_q63_to_q15()

__NRF_DSP_STATIC_FORCEINLINE int16_t clip_q63_to_q15 ( int64_t x)

Clips a Q63 value to Q15 range.

The value is shifted right by 15 bits before the final saturation.

Parameters
[in]xQ63 value to clip.
Returns
Saturated Q15 value.