Documentation ¶
Index ¶
- func MaxFloat64s(values ...float64) float64
- func MaxInt16s(values ...int16) int16
- func MaxInt32s(values ...int32) int32
- func MaxInt64s(values ...int64) int64
- func MaxInt8s(values ...int8) int8
- func MaxInts(values ...int) int
- func MinFloat64s(values ...float64) float64
- func MinInt16s(values ...int16) int16
- func MinInt32s(values ...int32) int32
- func MinInt64s(values ...int64) int64
- func MinInt8s(values ...int8) int8
- func MinInts(values ...int) int
- func RangeRandomLCRC(left, right int) int
- func RangeRandomLCRO(left, right int) int
- func RangeRandomLORO(left, right int) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaxFloat64s ¶
MaxFloat64s returns the largest of elements, panics when values are empty.
func MinFloat64s ¶
MinFloat64s returns the smallest of elements, panics when values are empty.
func RangeRandomLCRC ¶
RangeRandomLCRC returns value in [left, right], LCRC means left close right close.
func RangeRandomLCRO ¶
RangeRandomLCRO returns value in [left, right), LCRO means left close right open.
func RangeRandomLORO ¶
RangeRandomLORO returns value in (left, right), LORO means left open right open. Notice: because of manual +1, so the value of left+1 will be slightly more.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.