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

Interface Signed

constraints/constraints.go:8–10  ·  view source on GitHub ↗

Signed is a generic type constraint for all signed integers.

Source from the content-addressed store, hash-verified

6
7// Signed is a generic type constraint for all signed integers.
8type Signed interface {
9 ~int | ~int8 | ~int16 | ~int32 | ~int64
10}
11
12// Unsigned is a generic type constraint for all unsigned integers.
13type Unsigned interface {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected