'expression must have integral type' error

When I try to compile the folowing code(part of code is given) I get the error ‘expression must have integral type’.Does anyone have the idea why is this happening?

float u;

float e;

float e0;

float ep;

float u1;

float f1;

float f2;

float Kp;

float b;

float Td;

f2 = f2 + (abs((e + ep)*(1/2)))^(2/3);

u = u1 + b*(Kp*(e-e0) + f2f13Kp(e0)^(1/3)/Td);

^ is exclusive or in C, not power. For that you need to use pow(x,y) instead of x^y

thank you very much, now works just fine.