package math2 // IntMin returns the smaller of x or y. func IntMin(x, y int) int { if x < y { return x } return y }