A double inequality for a generalized-Euler-constant function