Eval::log(): avoid errors (negative or 0 values)