Documentation ¶
Index ¶
- Constants
- func Abs(n int) int
- func Binary(n int) string
- func BitCount[T typez.Integer](n T) int
- func IsEven(n int) bool
- func IsPower2(n uint) bool
- func Max[T typez.Ordered](n ...T) T
- func MaxBitApprox(n int) int
- func Min[T typez.Ordered](n ...T) T
- func MinBitApprox(n int) int
- func Pow(x int, n uint) int
- func Sum[T typez.Number](n ...T) T
- func Swap(a, b *int)
Constants ¶
View Source
const ( MaxUint = ^uint(0) MaxInt = int(^uint(0) >> 1) )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.