Friday, December 20, 2013

I don't know why this amazed me, but I just realized that you can do this: x&1 to find out if a number is odd in javascript (probably several other languages as well).

No comments:

Post a Comment