<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/going-on-a-tangent-with-the-intel-8087-s-hybrid-cordic-algorithm-ucdrji2w3" -->

---
title: Going On A Tangent With The Intel 8087’s Hybrid CORDIC...
description: Ken Shirriff's reverse-engineering of Intel's 8087 FPU examines the FPTAN trigonometric instruction, revealing a hybrid algorithm: the first 16 bits are...
canonical: https://daily.dev/posts/going-on-a-tangent-with-the-intel-8087-s-hybrid-cordic-algorithm-ucdrji2w3
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Going On A Tangent With The Intel 8087’s Hybrid CORDIC Algorithm | daily.dev
og:description: Ken Shirriff's reverse-engineering of Intel's 8087 FPU examines the FPTAN trigonometric instruction, revealing a hybrid algorithm: the first 16 bits are...
og:url: https://daily.dev/posts/going-on-a-tangent-with-the-intel-8087-s-hybrid-cordic-algorithm-ucdrji2w3
og:image: https://api.daily.dev/og/posts/ucdrJi2W3.png
og:image:alt: Going On A Tangent With The Intel 8087’s Hybrid CORDIC Algorithm
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Going On A Tangent With The Intel 8087’s Hybrid CORDIC Algorithm

**[Hackaday](https://daily.dev/sources/hackaday)** · 2 min read · 0 upvotes · 0 comments

## Summary

Ken Shirriff's reverse-engineering of Intel's 8087 FPU examines the FPTAN trigonometric instruction, revealing a hybrid algorithm: the first 16 bits are computed using CORDIC, then the remaining bits use a Padé approximant (ratio of two polynomials) to reach 64-bit accuracy quickly. For one example value, FPTAN spends 33% of its time on CORDIC pseudo-division, 47% on pseudo-multiplication, 15% on polynomial approximation, and 5% overhead. Full annotated microcode listing is included. Later Intel CPUs, starting with Pentium, abandoned CORDIC entirely due to scaling issues, and SIMD instructions further reduced x87's role.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://hackaday.com/2026/09/27/going-on-a-tangent-with-the-intel-8087s-hybrid-cordic-algorithm>

## Questions this post answers

### How does the Intel 8087 FPU compute the FPTAN instruction internally

The 8087 uses a hybrid algorithm: it computes the first 16 bits of the result with CORDIC, then switches to a Padé approximant (a ratio of two polynomials) to efficiently compute the remaining bits, reaching 64 bits of total accuracy. This avoids the large lookup tables and long computation time CORDIC alone would need for full precision.

_Explore FPU microcode internals and vintage CPU deep dives curated for hardware tinkerers on daily.dev._

### Why did Intel stop using CORDIC in later x87 FPUs after the 8087

CORDIC became impractical to scale to higher bit precision without significant time penalties, so starting with the Pentium series Intel moved completely away from it. The x87 instruction set's role was further diminished later by the introduction of SIMD instructions, which reduced reliance on x87 trigonometric functions altogether.

_Follow how CPU architectures evolve away from legacy instruction sets on daily.dev._

## Similar posts on daily.dev

- [The Intel 8087 And Conditional Microcode Tests](https://daily.dev/posts/the-intel-8087-and-conditional-microcode-tests-asdopknlo) · Hackaday · 0 upvotes · 0 comments
- [Floating-Point Addition And Subtraction On Intel’s 8087](https://daily.dev/posts/floating-point-addition-and-subtraction-on-intel-s-8087-fpz1aqgb0) · Hackaday · 0 upvotes · 0 comments
- [The Intel 8087 chip: floating-point addition and subtraction](https://daily.dev/posts/the-intel-8087-chip-floating-point-addition-and-subtraction-hekbecibh) · Hacker News · 1 upvotes · 0 comments
- [The Adder At The Heart Of Intel’s 8087 FPU](https://daily.dev/posts/the-adder-at-the-heart-of-intel-s-8087-fpu-7pjiuabd6) · Hackaday · 1 upvotes · 0 comments
- [Conditions in the Intel 8087 floating-point chip's microcode](https://daily.dev/posts/conditions-in-the-intel-8087-floating-point-chip-s-microcode-pfftxg6y6) · Hacker News · 1 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#reverse-engineering](https://daily.dev/tags/reverse-engineering)

[View this post on daily.dev](https://daily.dev/posts/going-on-a-tangent-with-the-intel-8087-s-hybrid-cordic-algorithm-ucdrji2w3)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Going On A Tangent With The Intel 8087’s Hybrid CORDIC Algorithm","url":"https://daily.dev/posts/going-on-a-tangent-with-the-intel-8087-s-hybrid-cordic-algorithm-ucdrji2w3","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/going-on-a-tangent-with-the-intel-8087-s-hybrid-cordic-algorithm-ucdrji2w3"},"datePublished":"2026-09-27T23:08:47.640Z","dateModified":"2026-09-27T23:09:09.942Z","description":"Ken Shirriff's reverse-engineering of Intel's 8087 FPU examines the FPTAN trigonometric instruction, revealing a hybrid algorithm: the first 16 bits are...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/0d6266bc8edcef7789fa64ccfa466a43?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/0d6266bc8edcef7789fa64ccfa466a43?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hackaday","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hackaday","logo":"https://media.daily.dev/image/upload/s--JhDfhy70--/f_auto,q_auto/v1767541814/logos/hackaday","url":"https://daily.dev/sources/hackaday"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/going-on-a-tangent-with-the-intel-8087-s-hybrid-cordic-algorithm-ucdrji2w3","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"architecture,reverse-engineering","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hackaday","item":"https://daily.dev/sources/hackaday"},{"@type":"ListItem","position":3,"name":"Going On A Tangent With The Intel 8087’s Hybrid CORDIC Algorithm"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/going-on-a-tangent-with-the-intel-8087-s-hybrid-cordic-algorithm-ucdrji2w3#faq","mainEntity":[{"@type":"Question","name":"How does the Intel 8087 FPU compute the FPTAN instruction internally","acceptedAnswer":{"@type":"Answer","text":"The 8087 uses a hybrid algorithm: it computes the first 16 bits of the result with CORDIC, then switches to a Padé approximant (a ratio of two polynomials) to efficiently compute the remaining bits, reaching 64 bits of total accuracy. This avoids the large lookup tables and long computation time CORDIC alone would need for full precision. Explore FPU microcode internals and vintage CPU deep dives curated for hardware tinkerers on daily.dev."}},{"@type":"Question","name":"Why did Intel stop using CORDIC in later x87 FPUs after the 8087","acceptedAnswer":{"@type":"Answer","text":"CORDIC became impractical to scale to higher bit precision without significant time penalties, so starting with the Pentium series Intel moved completely away from it. The x87 instruction set's role was further diminished later by the introduction of SIMD instructions, which reduced reliance on x87 trigonometric functions altogether. Follow how CPU architectures evolve away from legacy instruction sets on daily.dev."}}]}
```

