28.2.53 __builtin_flim_excess_32
Architecture
dsPIC33A
Description
Force (Signed) Data Range Limit with Limit Excess Result. Simultaneously compares a 32-bit signed data value to a maximum signed limit value and a minimum signed limit value.
Return the sign of the excess value.
Prototype
int32_t __builtin_flim(int32_t value, int32_t high, int32_t low, int32_t *excess);
Arguments
value
– Data value
high
– Maximum limit value
low
– Minimum limit value
excess
– Storage for excess over limit
Return Value
Returns the value
clamped between high
and
low
; stores the sign of the excess in the storage pointed to by
excess
.
Machine Instruction
flim.l
(when used with __builtin_flimv_excess
)
Error Messages
None