rtype for arithmetics