function y = c_log(x,m)
    
    if ~exist('m','var')
        m = eps;
    end
    y = log(max(x,m));

end