Digital multipliers and adders used for detection