MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / Integer

Interface Integer

constraints/constraints.go:18–20  ·  view source on GitHub ↗

Integer is a generic type constraint for all integers (signed and unsigned.)

Source from the content-addressed store, hash-verified

16
17// Integer is a generic type constraint for all integers (signed and unsigned.)
18type Integer interface {
19 Signed | Unsigned
20}
21
22// Float is a generic type constraint for all floating point types.
23type Float interface {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected