A new way for add Tag: Algorithm public int addNoArithm(int a, int b) { 2: if (b == 0) { 3: return a; 4: } 5: int sum = a ^ b; 6: int carry = (a & b) << 1; 7: return addNoArithm(sum, carry); 8: } leon Published by 2015-01-31 06:56 ← prev + 1 Next →