Versions in this module Expand all Collapse all v0 v0.0.1 Jul 4, 2023 Changes in this version + var ErrInputTooLarge = errors.New("input value too large") + func Ceil(x uint, y uint) int + func CeilPow2(value uint64) (uint64, error) + func CheckedMultiply(a, b uint64) (uint64, bool) + func IsPow2(value uint64) bool + func Log2Ceil(value uint64) int + func Log2Floor(value uint64) int + func Max(x int, y int) int + func Min(x int, y int) int