Post
Subtracting two floating-point numbers, say 8-7.5, takes a few steps. Floating-point numbers are stored as a power of 2 times a binary number. The numbers are shifted so the exponents align, and then subtracted in binary. To get rid of zeros at the front, the result is shifted (normalized).
1 repost41 likes
For more on the 8087's circuitry and the microcode, see my latest article: www.righto.com/2026/10/8087... Credits: I've been working on this with the members of the "Opcode Collective", especially Smartest Blob and @gloriouscow.bsky.social.
righto.comInside the Intel 8087 chip: floating-point addition and subtractionIn 1980, Intel introduced the 8087, a chip that made floating-point operations much faster in the IBM PC and other systems. Although the 808...