more powerful clamp

add can_equal_to_min/max