static float cheb_poly_eva(float *coef,float x,int m,char *stack)
static float cheb_poly_eva(spx_word32_t *coef,float x,int m,char *stack)
static float cheb_poly_eva(float *coef,float x,int m,char *stack)/*  float coef[]  	coefficients of the polynomial to be evaluated 	*//*  float x   		the point where polynomial is to be evaluated 	*//*  int m 		order of the polynomial 			*/{    int i;    float *T,sum;    int m2=m>>1;    /* Allocate memory for Chebyshev series formulation */    T=PUSH(stack, m2+1, float);    /* Initialise values */    T[0]=1;    T[1]=x;    /* Evaluate Chebyshev series formulation using iterative approach  */    /* Evaluate polynomial and return value also free memory space */    sum = coef[m2] + coef[m2-1]*x;    x *= 2;    for(i=2;i<=m2;i++)    {       T[i] = x*T[i-1] - T[i-2];       sum += coef[m2-i] * T[i];    }        return sum;}