What is the function of alu

An arithmetic logic unit (ALU) may be a digital circuit wont to perform arithmetic and logic operations. It represents the elemental building block of the central processing unit (CPU) of a computer. Modern CPUs contain very powerful and sophisticated ALUs.