Source: wikibot/subtractor
= Subtractor
{wiki=Subtractor}
A subtractor is a digital circuit that performs subtraction on binary numbers. It is commonly used in arithmetic logic units (ALUs) and various computing applications. The simplest form of a subtractor is a **half subtractor**, which takes two input bits and produces a difference and a borrow output. A more complex version is the **full subtractor**, which handles borrowing from previous bits, allowing it to subtract multi-bit binary numbers.