Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaxFloat64s ¶
MaxFloat64s return the maximal value in a slice of float64
Example ¶
vals := []float64{23, 8, 4, 42, 16, 15} fmt.Println(MaxFloat64s(vals)) fmt.Println(MaxFloat64s(nil))
Output: 42 <nil> 0 max of empty slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.