Documentation ¶
Index ¶
- func Float32Max(fn func(a, b float32) bool, a, b float32) float32
- func Float64Max(fn func(a, b float64) bool, a, b float64) float64
- func Int16Max(fn func(a, b int16) bool, a, b int16) int16
- func Int32Max(fn func(a, b int32) bool, a, b int32) int32
- func Int64Max(fn func(a, b int64) bool, a, b int64) int64
- func Int8Max(fn func(a, b int8) bool, a, b int8) int8
- func IntMax(fn func(a, b int) bool, a, b int) int
- func Uint16Max(fn func(a, b uint16) bool, a, b uint16) uint16
- func Uint32Max(fn func(a, b uint32) bool, a, b uint32) uint32
- func Uint64Max(fn func(a, b uint64) bool, a, b uint64) uint64
- func Uint8Max(fn func(a, b uint8) bool, a, b uint8) uint8
- func UintMax(fn func(a, b uint) bool, a, b uint) uint
- type NumberType
- type ThisNumberType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NumberType ¶
func NumberTypeMax ¶
func NumberTypeMax(a, b NumberType) NumberType
NumberTypeMax gets the maximum number from the two specified.
type ThisNumberType ¶
func ThisNumberTypeMax ¶
func ThisNumberTypeMax(fn func(a, b ThisNumberType) bool, a, b ThisNumberType) ThisNumberType
Click to show internal directories.
Click to hide internal directories.