Performance of pow/sqrt in C++
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.
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.