n = x%2 ? x can be any integer.
On Fri, Dec 2, 2011 at 5:19 PM, Don <dondod...@gmail.com> wrote: > (!x || !(x^1)) > !(x>>1) > !((x|1)-1) > (x*x)==x > (x==(x==x))||(x==(x!=x)) > > etc. > > On Nov 29, 9:07 pm, Nitin Garg <nitin.garg.i...@gmail.com> wrote: > > *What are the different ways to say, the value of x can be either a 0 or > a > > 1.* > > > > -- > > Nitin Garg > > > > "Personality can open doors, but only Character can keep them open" > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.