10 lines
120 B
Go
10 lines
120 B
Go
package mathutil
|
|
|
|
// Max returns the larger of a and b.
|
|
func Max(a, b int) int {
|
|
if a >= b {
|
|
return a
|
|
}
|
|
return b
|
|
}
|