28.2.64 __builtin_sat_abs_s16

Description

Signed saturating absolute value. Calculate abs(x) and saturate the result.

Prototype

int16_t __builtin_sat_abs_s16(int16_t x);

Arguments

x – value to inspect

Return Value

Returns the saturated result of abs(x)

Error Messages

None