elvish/util/limits.go
2016-02-19 20:31:54 +01:00

9 lines
109 B
Go

package util
const (
MaxUint = ^uint(0)
MinUint = 0
MaxInt = int(MaxUint >> 1)
MinInt = -MaxInt - 1
)