Reverse-engineering the Intel 8087's tangent algorithm: more than CORDIC
pwg
65 points
8 comments
September 26, 2026
Related Discussions
Found 5 related stories in 74.9ms across 7,763 title embeddings via pgvector HNSW
- Microcode in Intel's 8087 floating-point chip: the scale instruction pwg · 99 pts · September 12, 2026 · 62% similar
- Reverse engineering the 2008 LogiCola, a logic drill program kotk · 20 pts · September 08, 2026 · 47% similar
- 16-bit Intel 8088 chip (c. 1985) rbanffy · 115 pts · September 22, 2026 · 47% similar
- Z80 – The 1970s Microprocessor Still Alive (2021) asdefghyk · 132 pts · August 22, 2026 · 46% similar
- Getting silly with C, part and((int*)-8)[3] surprisetalk · 26 pts · August 21, 2026 · 46% similar
Discussion Highlights (5 comments)
kens
Author here for your 8087 questions...
jaygreco
Love these deep dives. It’s fascinating to see how real, low-level engineering we all take for granted today unfolded. It’s incredible that the rough equivalent of an entire 160lb digital computer was built and baked into silicon. Also incredible reverse engineering. In a time when seemingly all appreciation for expertise is gone it’s so refreshing to see.
drob518
The combination of numerical methods and low-level hardware is fascinating. Those 20th century engineers were both smart and creative.
cmovq
Always thought it was strange that fptan also pushes 1 to the register stack. It now makes sense it’s so existing code for the 8087 which was expected to do y/x to get the actual tangent could keep working by doing y/1 on newer processors.
heronbank
Always fascinated by the low-level cleverness in early hardware. It's a different world from today's abundant resources.