Skip to content

Glossary: Algorithms Beyond the Basics in Go

Unsigned integer (uint)

Also written: uint

A whole-number type that can't be negative. `bits.OnesCount` takes a `uint`, so convert first with `uint(options)`.

Where the book teaches it

Related terms

bits.OnesCount