Today, my colleague berated me for using pow(x, 2.0). He (a reasonably high-rep user on this site) insisted I wrote x * x as he claimed it would be faster and clearer
But why? Wouldn't pow know to optimise anyway? Surely my approach is clearer?