28.2.29 __builtin_flimv_excess

Description

Force (Signed) Data Range Limit with Limit Excess Result. Simultaneously compares a 16-bit signed data value to a maximum signed limit value and a minimum signed limit value.

Return the amount of the excess value.

Prototype

int16_t __builtin_flimv_excess(int16_t value, int16_t high, int16_t low, int16_t *excess);

Arguments

value – Data value

high – Maximum limit value

low – Minimum limit value

excess – excess over limit

Return Value

Return the value of the excess.

Machine Instruction

flim.v

(when used with __builtin_flim_excess)

Error Messages

None