Search
❯
May 29, 20261 min read
⚠️ Integer division truncates. 5 / 2 = 2 ceil(a / b) = 2❌ ceil((double)a / b) = 3✅ (a + b - 1) / b✅