What is the conversion of the following equation into log space?
$bf2 = 1 + (p * (bf1 - 1))$
Given log.bf1 (log Bayes factor), how do I get to log.bf2 without having to compute bf1, but instead using log.bf1?
Context: Numerical issues are arising because bf1 is often very large or very small. Hence, the computations are performed in log space to avoid numerical over/underflow.