in reply to Re^2: reliable get position of leftmost bit in large integers
in thread reliable get position of leftmost bit in large integers
I am only prototyping the pure Perl version for a C implementation.
If your doing it in C, it is very efficient compared to other methods; and works well as an Inline::C routine.
It originates from Bit Twiddling Hacks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: reliable get position of leftmost bit in large integers
by wollmers (Scribe) on Mar 12, 2015 at 14:54 UTC |