Implemented log_sum_c().