which is faster?
- Posted by Jules <jdavy at d?l.pi?ex.com> Nov 08, 2007
- 640 views
I'm squaring values in a loop, is it faster to use (s[i]-a)*(s[i]-a) or power((s[i]-a), 2)? Thanks.
I'm squaring values in a loop, is it faster to use (s[i]-a)*(s[i]-a) or power((s[i]-a), 2)? Thanks.