While y = pow(x, 0.5); and y = sqrt(x); are on fist sight the same code, using pow is approximately 10 times slower than using sqrt.