4 ms·
I know how addition is done in hardware. I've programmed multiplication and division on computers that only had shift and add instructions. I've implemented IEE
by WalterBright 6y ago
I know how addition is done in hardware. I've programmed multiplication and division on computers that only had shift and add instructions. I've implemented IEEE 754 floating point packages, too.
https://github.com/DigitalMars/dmc/blob/master/src/CORE16/FLOAT.ASM https://github.com/DigitalMars/dmc/blob/master/src/CORE16/FL...
Multiplication is repeated addition.
Yes, I know about roundoff errors, overflows, etc.