Logarithm addition

Function for logarithm addition
A = log(a); B = log(b);
Y = log(a+b)--> A + log(1+e^(B-A))