Number of Bits Needed to Represent a Zero-Offset Integer

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Feb 13 00:27:48 PST 2015


On Monday, 19 January 2015 at 20:54:50 UTC, Steven Schveighoffer 
wrote:
> Cool. I would point out that the commented code suggests you 
> should be handling the 0 case, but you are not (when T.min == 
> T.max)

Should I do a Phobos PR for this? If so where should I put it?


More information about the Digitalmars-d-learn mailing list