it's an algorithm where it's easy to have off-by-one errors that lead to nontermination or incorrect results for certain inputs
integer overflow is also a problem on some platforms, especially java
I suspect it is as usual, someone made theoretical invention, then someone else looked at it years later and wrote implementation in evening or two
it's an algorithm where it's easy to have off-by-one errors that lead to nontermination or incorrect results for certain inputs
integer overflow is also a problem on some platforms, especially java