Convenience function limit(mini,X,maxi), same as min(max(mini,X),maxi). Rev: src/modules/_math/math.c:1.81