Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Write A Function To Determine If A Number Is A Power Of 2. Parent comment
Floating point gets you approximate answers.
>>> isPower2(2**31) False
Floating point gets you approximate answers.