Settings

Theme

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

righto.com

124 points by pwg · 13 comments

Reader

7 threads
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.

kens

Author here for your 8087 questions...

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.

Const-me

I remember I once wanted to compute tangent of fp64 vectors. Here’s what I did.

https://github.com/Const-me/AvxMath/blob/master/AvxMath/AvxM...

drob518

The combination of numerical methods and low-level hardware is fascinating. Those 20th century engineers were both smart and creative.

irfan_99

its cool to do RE

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection