AFAIK, pow(x, 2.) takes much more CPU (x100, probably) than x*x