Math minmaxclamp

poiru: does this work better?
@dcgrace Nope, we use tabs for indentation and spaces for alignment.