28.2.33 __builtin_fmin

Description

Force (Signed) Data Range Minimum Limit. Compares a 16-bit signed data value to a minimum signed limit value.

If the data value is less than the minimum, the data value is set to the minimum value.

If the data value is greater than or equal to the minimum value, the data value is not changed.

Prototype

int16_t __builtin_fmin(int16_t value, int16_t low);

Arguments

value – Data value

low – Minimum limit value

Return Value

Returns value limited by low.

Machine Instruction

fmin

Error Messages

None