Port to log-domain