Checking if an Integer is an Exact Binary Power

Era Scarecrow via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 26 12:53:44 PDT 2016


On Tuesday, 26 April 2016 at 18:04:53 UTC, deadalnix wrote:
> You got to explain me how you end up with a negative number by 
> multiplying 2 by 2 a bunch of time.

You gotta scrawl your numbers down badly so one of the 2's looks 
like a minus sign. Or go so large that the universe caves in on 
itself.


More information about the Digitalmars-d mailing list