MCPcopy
hub / github.com/TheAlgorithms/Go / Unsigned

Interface Unsigned

constraints/constraints.go:13–15  ·  view source on GitHub ↗

Unsigned is a generic type constraint for all unsigned integers.

Source from the content-addressed store, hash-verified

11
12// Unsigned is a generic type constraint for all unsigned integers.
13type Unsigned interface {
14 ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64
15}
16
17// Integer is a generic type constraint for all integers (signed and unsigned.)
18type Integer interface {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected