in reply to Re^3: reliable get position of leftmost bit in large integers
in thread reliable get position of leftmost bit in large integers

I knew the Bit Twiddling page. But I hoped to get it shorter.

Sure, pure C does not have the overhead.

Helmut Wollmersdorfer

  • Comment on Re^4: reliable get position of leftmost bit in large integers