Hi, > > you could increment using the or/xor operation, multiply by repeated > addition (which again is xor) operations. subtract with xor > operations. essentially, you would be rewriting every arithmetic is > the least arithmetic way possible. > > but do keep this thread posted if there really is a simpler such > solution. would love to know :)
I think this should help http://www.go4expert.com/forums/showthread.php?t=3095 -- Thanks, M. Varadharajan ------------------------------------------------ "Experience is what you get when you didn't get what you wanted" -By Prof. Randy Pausch in "The Last Lecture" My Journal :- www.thinkasgeek.wordpress.com _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc