Monthly Archives: February 2012

Addition, Subtraction, Multiplication using bit operators

The key for addition is to think about how numbers the carry works. You want to get the sum without worrying about caring, and then sum first (XOR), and then worry about the carry bit (AND << 1). // Iterative … Continue reading

Posted in Java | Tagged | Leave a comment

This is a pretty cool website to learn how to program. Language is javascript. Not sure why but I’m doing it. pretty simple but think it’d be good for the super beginner. If you want comment and we can keep … Continue reading

Posted in Coding | Leave a comment