pow((float)DataLine->ServosPosition[0+(i*3)], 2
Using pow to square a number if like hunting flies with an elephant gun.