Registry / utility / thomaso-mirodin-intmath

thomaso-mirodin-intmath

JSON →
library0.0.0-20160323211736-5dc6d854e46egogounverified

Provides integer math functions for int, uint, int32, uint32, int64, and uint64 types, avoiding float64 casting.

go get github.com/thomaso-mirodin/intmath
INSTALL
IMPORT
SIG · THOMASO-MIRODIN-IN
T
thomaso-mirodin-intmath
utilitygov0.0.0-20160323211736-5dc6d854e46e
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

intmath
✓ github.com/thomaso-mirodin/intmath

Compute log2 of a uint64 using the u64 subpackage.

package main import ( "fmt" "github.com/thomaso-mirodin/intmath/u64" ) func main() { fmt.Println(u64.Log2(1024)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20160323211736-5dc6d854e46elatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
thomaso-mirodin-intmath — go get thomaso-mirodin-intmath · libregistry