helper function to sum logs without loss of precision logsum sums logs without loss of precision

logsum(x)

Arguments

x

a vector of logs to sum

Value

a scalar