Andy Sloane personal blog
Donut math - How donut.c works
There has been a sudden resurgence of interest in my "donut" code from 2006 , and I've had a couple requests to explain this one. It's been five years now, so it's not exactly fresh in my memory, so I will reconstruct it from scratch, in great detail, and hopefully get approximately the same result.
- Points
- 237
- HN comments
- 68
- Submissions
- 4
- Cited by
- 10 commenters
Math & AlgorithmsSoftware Engineering2011
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jul 20, 2011 | Donut math - How donut.c works by dmuino | 237 | 21 |
| Oct 1, 2012 | Donut math: How donut.c works by Peroni | 204 | 11 |
| Sep 17, 2023 | Donut math: how donut.c works by mr_o47 | 196 | 14 |
| Jan 23, 2014 | Donut math: how donut.c works (2011) by shrikant | 121 | 22 |
Cited in comments
Linked from 12 Hacker News comments by 10 different people, from Nov 2013 to Aug 2025.
Most recent: