Number of Bits Needed to Represent a Zero-Offset Integer

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Feb 13 14:39:08 PST 2015


H. S. Teoh:

> So it could be called ilog2?

Perhaps floorIlog2? Isn't ilog2 a different function?

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list