Hacker News new | ask | show | jobs
by uecker 360 days ago
For signed types you can can also get a run-time trap on overflow, making it safe to use. Bug caused by unsigned wraparound are extremely hard to find.