Arithmetic calculator