On Tuesday, 19 May 2015 at 10:59:53 UTC, w0rp wrote:
I believe you can also do x & -x == x.
I think that still returns true for x = 0.
On Tuesday, 19 May 2015 at 10:59:53 UTC, w0rp wrote:
I believe you can also do x & -x == x.
I think that still returns true for x = 0.