a calculator capable of complex arithmetics