Better HN
topnewbestaskshowjobs
Log inSign up

as2j-1298

2 karma · joined Aug 19, 2026 (3mo ago) · 1 submissions

Submissions

comment 3mo ago · link · parent

Colloquially "repeat" means "repeat once", but in the algorithm sense it means go back to the beginning of the block I think.

I think Knuth originally wanted a loop but obviously needed a proof that it terminates and does not waste too many iterations. That is why he mentions <= 2 in the text..

I mean, as you say, every implementation apart from LLVM understood the text as a loop.

Anyway, extremely nice work to correct Theorem B to <= 3!