Guido van Rossum personal blog
Why Python's integer division floors (2010)
I was asked (again) today to explain why integer division in Python returns the floor of the result instead of truncating towards zero like...
- Points
- 103
- HN comments
- 98
- Submissions
- 1
- Cited by
- 0 commenters
Programming LanguagesMath & Algorithms2024
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Feb 26, 2024 | Why Python's integer division floors (2010) by bshanks | 103 | 98 |