28.2.66 __builtin_sat_sub_s16
Description
Signed saturating subtraction. Calculate x - y and saturate the result.
Prototype
int16_t __builtin_sat_sub_s16(int_t x, int16_t y);
Arguments
x
– Left hand side of the subtraction
y
– Right hand side of the subtraction
Return Value
Returns the saturated result of x
-
y
.
Error Messages
None.