‹ BackHN Continuity

Thread

Reverse-engineering the Intel 8087's tangent algorithm: more than CORDIC

126 points · 11 comments · pwg

  1. Const-me · · focus · HN ↗
    I remember I once wanted to compute tangent of fp64 vectors. Here’s what I did.

    <a href="https:&#x2F;&#x2F;github.com&#x2F;Const-me&#x2F;AvxMath&#x2F;blob&#x2F;master&#x2F;AvxMath&#x2F;AvxMathTrig.cpp#L306-L342" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Const-me&#x2F;AvxMath&#x2F;blob&#x2F;master&#x2F;AvxMath&#x2F;AvxM...

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.