Memory Leaks
Ongoing thoughts about programming and software development related topics.
Showing posts with label
Log Base 2
.
Show all posts
Showing posts with label
Log Base 2
.
Show all posts
Friday, January 27, 2012
Log base 2 of an N-bit integer
Another Groovy training post. This time, three different method to find log base 2 of an N-bit integer.
Note: All algorithms and code credits goes to
Bit Twiddling Hacks
.
Note: All algorithms and code credits goes to
Bit Twiddling Hacks
.
Older Posts
Home
Subscribe to:
Posts (Atom)