|
inlineconstexpr |
Defined in Header
Parameters
* `x`, `...xs`: [real](@ref floating_value) arguments. * `tup`: [non empty tuple](@ref kumi::non_empty_product_type) of arguments. * `c`: [Conditional expression](@ref conditional_expr) masking the operation. * `m`: [Logical value](@ref logical) masking the operation.
Return value
logspace_add(x, xs...)
is semantically equivalent to log(exp(log(x)) + + exp(log(xs))...)
without causing unnecessary overflows or throwing away too much accuracy.