Don't ask to ask, just ask | |
PerlMonks |
Re^2: reliable get position of leftmost bit in large integersby wollmers (Scribe) |
on Mar 12, 2015 at 12:38 UTC ( [id://1119776]=note: print w/replies, xml ) | Need Help?? |
Works perfect. I only changed the testing-lines for better visability:
Maybe it's fast enough versus log(),division,log() if inlined. But I am only prototyping the pure Perl version for a C implementation. But it would be nice to have pure Perl as a fallback.
In Section
Seekers of Perl Wisdom
|
|