package pmath

Import Path
	github.com/gobwas/pool/internal/pmath (on go.dev)

Dependency Relation
	imports 0 packages, and imported by one package

Involved Source Files pmath.go
Package-Level Functions (total 5)
CeilToPowerOfTwo returns the least power of two integer value greater than or equal to n.
FloorToPowerOfTwo returns the greatest power of two integer value less than or equal to n.
Identity is identity.
IsPowerOfTwo reports whether given integer is a power of two.
LogarithmicRange iterates from ceiled to power of two min to max, calling cb on each iteration.