Re:Ten Ways to Check if an Integer Is a Power Of Two in C
by aidenn0 on Tuesday July 26, 2011 @03:12PM
(#2808993)
That's multiplies, not divides. Modern CPUs are still faster at shifts than divides, even the pentium4, which lacked a single-cycle shift unit.
[ Parent
| on HN ]
There are no comments on this comment yet.