Hacker News new | ask | show | jobs
by uecker 50 days ago
Singed integers in C do not implement modular arithmetic. You can trust me on this.
1 comments

I'd trust you a lot more if you actually pointed out something wrong with my statement.
It is wrong that signed types in C implement modular arithmetic. They have undefined behavior on overflow.
I see. That is fair, thank you for pointing this out to me.