Alexander, No, the code is correct. Let x = log_10 p. Then e^(x ln 10) = 10^x = p. > inline Prob LogPtoProb(LogP2 prob) > { > if (prob == LogP_Zero) { > return 0; > } else { > return exp(prob * M_LN10); > } > } &