Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tux3
on Sept 5, 2021
|
parent
|
context
|
favorite
| on:
Progress on C23
Multiplying unsigned shorts is famously (?) undefined behavior on most platforms.
They get promoted to int, and the result overflows.
https://stackoverflow.com/questions/33732489/
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
They get promoted to int, and the result overflows.
https://stackoverflow.com/questions/33732489/