Documentation
¶
Index ¶
- func Max3I(a, b, c int) int
- func Max3Int64(a, b, c int64) int64
- func Max3Uint64(a, b, c uint64) uint64
- func MaxI(a, b int) int
- func MaxInt64(a, b int64) int64
- func MaxUint64(a, b uint64) uint64
- func Min3I(a, b, c int) int
- func Min3Int64(a, b, c int64) int64
- func Min3Uint64(a, b, c uint64) uint64
- func MinI(a, b int) int
- func MinInt64(a, b int64) int64
- func MinUint64(a, b uint64) uint64
- func NextPowerOf2U16(v uint16) uint16
- func NextPowerOf2U32(v uint32) uint32
- func NextPowerOf2U64(v uint64) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Max3Uint64 ¶
Max3Uint64 returns the maximum out of three unsigned 64-bit integers
func Min3Uint64 ¶
Min3Uint64 returns the minimum out of three unsigned 64-bit integers
func NextPowerOf2U16 ¶
NextPowerOf2U16 returns the next power of 2 for a given 16bit number
func NextPowerOf2U32 ¶
NextPowerOf2U32 returns the next power of 2 for a given 32bit number
func NextPowerOf2U64 ¶
NextPowerOf2U64 returns the next power of 2 for a given 64bit number
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.