Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compare ¶
func Compare[T constraints.Ordered](a, b T) int
func InRange ¶
func InRange[T constraints.Ordered](min, max, val T) T
InRange - ensure val is in [min,max] range
func Max ¶
func Max[T constraints.Ordered](a, b T) T
func Min ¶
func Min[T constraints.Ordered](a, b T) T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.