Some results for a class of generalized polynomials