|
inlineconstexpr |
Defined in Header
Parameters
x : argument.t : Type wrapper instance embedding the clamping type.Return value
For an x type U, the call saturate(x, as_<Target>{}) returns elementwise a value of element type U which is x clamped between the smallest and largest values of the Target