At the level of the CPU, arithmetic is not just the actual mathematical operations on numbers. The ALU has to encompass all of the operations and state that is expected of an ALU, including endianness convention, uint-to-float conversions, int-to-float conversions, int-to-int conversions, uint-to-int conversions, int-to-uint conversions.
Description
At the level of the CPU, arithmetic is not just the actual mathematical operations on numbers. The ALU has to encompass all of the operations and state that is expected of an ALU, including endianness convention, uint-to-float conversions, int-to-float conversions, int-to-int conversions, uint-to-int conversions, int-to-uint conversions.