Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualKhatharr

Posted 13 December 2012 - 09:30 PM

To test for odd vs even don't use modulation. Just binary-and with 1.

0 & 1 = 0
1 & 1 = 1
2 & 1 = 0
3 & 1 = 1
4 & 1 = 0
5 & 1 = 1

#1Khatharr

Posted 13 December 2012 - 09:30 PM

To test for odd vs even don't use modulation. Just binary OR with 1.

0 | 1 = 0
1 | 1 = 1
2 | 1 = 0
3 | 1 = 1
4 | 1 = 0
5 | 1 = 1

PARTNERS