Y
Hacker News
new
|
ask
|
show
|
jobs
by
mgedmin
5718 days ago
>>> isPower2(2
31) False
Floating point gets you approximate answers.
1 comments
mgedmin
5718 days ago
That was supposed to say
>>> isPower2(2**31) False
mutter
why no preview button on HN
mutter
link
scott_s
5718 days ago
It does, however, have an edit option for a few minutes after you post.
link