@Zerocool142: See https://groups.google.com/d/msg/algogeeks/483lcb0FTY0/YoQTNbOQ3aIJ. It implements addition using bitwise operators, and then uses that addition function and more bit operations to do multiplication, handling both positive and negative (2's complement) numbers. Dave
On Tuesday, June 26, 2012 11:15:36 PM UTC-5, zerocool142 wrote: > How to multiply two numbers without using * operator? > Hint:Use bit operators > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To view this discussion on the web visit https://groups.google.com/d/msg/algogeeks/-/lPeJnr89TNsJ. 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.