Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
uecker
1mo ago
0 comments
Save
Share
Singed integers in C do not implement modular arithmetic. You can trust me on this.
0 comments
3 comments · 1 top-level
top
newest
oldest
Chinjut
1mo ago
· 2 in thread
I'd trust you a lot more if you actually pointed out something wrong with my statement.
uecker
OP
1mo ago
It is wrong that signed types in C implement modular arithmetic. They have undefined behavior on overflow.
Chinjut
1mo ago
I see. That is fair, thank you for pointing this out to me.
j
/
k
navigate · click thread line to collapse