for better code readability try to avoid using the ternary operator in situations like these. I suggest to use

if( m_scaleType != Linear )
{
   value = log_to_linear(...)
}

instead and not using the new variable at all.