Ferrolho: added correct resolution of D - Base Arithmetic