Implemented log_sum_t().