Comment on I wish
Acters@lemmy.world 1 year agoNice, how about bitwise & operator?
// n&1 is 1, then odd, else even return (!(n & 1));
Comment on I wish
Acters@lemmy.world 1 year agoNice, how about bitwise & operator?
// n&1 is 1, then odd, else even return (!(n & 1));