# Floating-Point Addition and Subtraction on Intel's 8087

DevFeed: [Floating-Point Addition and Subtraction on Intel's 8087](<https://devfeed.tech/articles/floating-point-addition-and-subtraction-on-intel-s-8087-95343.md>)

Original publisher: [Read original article](<https://hackaday.com/2026/10/22/floating-point-addition-and-subtraction-on-intels-8087/>)

Author: Maya Posch

Published: 2026-10-22T11:00:30Z

Content type: article

Language: en

Sources: [Hackaday](<https://devfeed.tech/sources/hackaday.md>)

Topics: [floating-point](<https://devfeed.tech/topics/floating-point.md>)

Tags: [3d](<https://devfeed.tech/tags/3d.md>), [8086](<https://devfeed.tech/tags/8086.md>), [8087](<https://devfeed.tech/tags/8087.md>), [addition](<https://devfeed.tech/tags/addition.md>), [cad](<https://devfeed.tech/tags/cad.md>), [cad-software](<https://devfeed.tech/tags/cad-software.md>), [circuits](<https://devfeed.tech/tags/circuits.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [floating-point](<https://devfeed.tech/tags/floating-point.md>), [games](<https://devfeed.tech/tags/games.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [intel](<https://devfeed.tech/tags/intel.md>), [intel-8087](<https://devfeed.tech/tags/intel-8087.md>), [isa](<https://devfeed.tech/tags/isa.md>), [ken-shirriff](<https://devfeed.tech/tags/ken-shirriff.md>), [rendering](<https://devfeed.tech/tags/rendering.md>), [reverse-engineering](<https://devfeed.tech/tags/reverse-engineering.md>), [silicon](<https://devfeed.tech/tags/silicon.md>), [software](<https://devfeed.tech/tags/software.md>), [teardown](<https://devfeed.tech/tags/teardown.md>), [theory](<https://devfeed.tech/tags/theory.md>)

## AI overview

Intel's 8087 made floating-point addition and subtraction roughly a hundred times faster than the 8086 in the account provided. Ken Shirriff reverse-engineered the coprocessor's circuitry and microcode, showing that these apparently simple operations require careful handling of value alignment, shifting, and overflow and underflow. The excerpt identifies the shifter and edge cases such as infinities as important parts of the implementation, and says the article includes a microcode listing. It presents dedicated hardware as making floating-point work more feasible in PC applications than doing the operations in integer-based software.

## Source excerpt

Although you can do basic floating point format operations like addition and subtraction just fine on any CPU, having specialized hardware for it can provide a significant speed boost. Here ...read more