Please surround operators by blanks like 
freq2 = pow(2.0, 5.0f + (depth + bandpass_size) * 9.0f);