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