Hacker News new | past | comments | ask | show | jobs | submit login

Fixed-width divisions are O(1), just comparatively expensive (and potentially optimized to run in variable time). Consider that you can do long division on pairs of numerals of, say, up to 20 digits and be Pretty Confident of an upper bound on how long it's going to take you (you know it's not going to take more than 20 rounds), even though it's going to take you longer to do that than it would for you to add them.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: