Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Add = &Function{ Float64: func(a, b float64) float64 { return a + b }, Int64: func(a, b int64) int64 { return a + b }, Uint64: func(a, b uint64) uint64 { return a + b }, }
View Source
var Max = &Function{ Init: Init{-math.MaxFloat64, math.MinInt64, 0}, Float64: func(a, b float64) float64 { if a > b { return a } return b }, Int64: func(a, b int64) int64 { if a > b { return a } return b }, Uint64: func(a, b uint64) uint64 { if a > b { return a } return b }, }
View Source
var Min = &Function{ Init: Init{math.MaxFloat64, math.MaxInt64, math.MaxUint64}, Float64: func(a, b float64) float64 { if a < b { return a } return b }, Int64: func(a, b int64) int64 { if a < b { return a } return b }, Uint64: func(a, b uint64) uint64 { if a < b { return a } return b }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.