fn capped<R: Scalar>(t: R, bound: R) -> R
t with its magnitude capped at bound’s, its sign kept.
t
bound