Complex powers and asymptotic expansions. I. Functions of certain types.