Home | Notifications | New Note | Local | Federated | Search | Logout
Note Detail
Reply to @kenshirriff@oldbytes.space
Ken Shirriff@kenshirriff@oldbytes.space (2026-09-27 02:03:35)
Back in 1956, the Mach-2 B-58 Hustler had an analog navigation computer. It wasn't accurate enough, so they built a digital replacement. Sines and cosines are easy in analog, but required a new digital algorithm. They invented the CORDIC algorithm and built the 134-pound CORDIC computer.
---Attachments---
image: https://assets.oldbytes.space/assets.oldbytes.space/media_attachments/files/117/338/415/629/550/235/original/e1c96ddfaada2098.png
image: https://assets.oldbytes.space/assets.oldbytes.space/media_attachments/files/117/338/417/160/755/990/original/adb0910344b86c17.png
---Reply---
Ken Shirriff@kenshirriff@oldbytes.space (2026-09-27 02:03:52)
Usually, rotating a vector by an angle requires complicated math. But for some special angles, the calculation requires just shifts and adds, easy to do in hardware. The CORDIC algorithm breaks down an angle into special angles (using a table), does quick vector rotations, producing the trig answer.
Reply
---Replies---
Ken Shirriff@kenshirriff@oldbytes.space (2026-09-27 02:04:21)
CORDIC became popular, especially in scientific calculators. The 8087 chip uses CORDIC, but goes further, also using a polynomial ratio to get more accuracy. The simple function 3x/(3-x^2) (blue) is surprisingly close to the tangent (red), better than a Taylor series (green).
---Attachments---
image: https://assets.oldbytes.space/assets.oldbytes.space/media_attachments/files/117/338/422/907/310/576/original/3f2be8617d07a876.png