Here is a calculator that does only integer arithmetic.
Source code is in
java source