+ 2

Even / odd

bypass chech the last bit of number if it is 1 i.e. it's odd no.

12th Nov 2016, 4:57 AM
Pankaj Devesh
Pankaj Devesh - avatar
2 Antworten
0
yes it would seem unless you have some caveat that my relatively low level has missed.
12th Nov 2016, 7:50 AM
BT BT
BT BT - avatar
0
no%2 is traditional be different think different (no%2) is mathematical but chacking the last bit reduce the CPU process I think 🤔
13th Nov 2016, 4:36 AM
Pankaj Devesh
Pankaj Devesh - avatar