func divide(x ...float64) float64 {
a := x[0]
b := x[1:]
for _, v := range b {
a /= v
}
return a
}
func divide(x ...float64) float64 {
if len(x) == 0 {
return 0
}
if len(x) == 1 {
return x[0]
}
a := x[0]
for _, v := range x[1:] {
a /= v
}
return a
}