evm_clamp
Scalar function
Constrains x to the range [lo, hi]. Returns lo if x < lo, hi if x > hi, otherwise x. Equivalent to max(lo, min(hi, x)).
Overloads
Documentation
Constrains x to the range [lo, hi]. Returns lo if x < lo, hi if x > hi, otherwise x. Equivalent to max(lo, min(hi, x)).