function clamp(E1 &&, E2 &&, E3 &&) expressions¶
template <typename E1, typename E2, typename E3>
requires expression_arguments<E1, E2, E3>
KFR_FUNCTION expression_make_function<fn::clamp, E1, E2, E3> clamp(E1&& x, E2&& lo, E3&& hi) Creates an expression that returns the first argument clamped to a range [lo, hi]
Defined at base/simd_expressions.hpp:479