3 ms·
Yes, I've usually represented the range with (low, size) instead of (low, high) (and then the high-low part never comes up). So when this article first came ou
by abecedarius 17y ago
Yes, I've usually represented the range with (low, size) instead of (low, high) (and then the high-low part never comes up).
So when this article first came out I was all "Aren't you bagging on Bentley too much? He published pseudocode, and of course you have to take care about things like overflow when converting it to C." But then I saw Bentley saying somewhere that no, he really hadn't considered this problem. (IIRC)
- neilc 17y agoBentley didn't just publish pseudo-code; he also published C, and the published C contains the bug.
- abecedarius 17y agoAh well, at least it fit the theme here when I misremembered.