update arithmetic.cpp