HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by Someone1234 | Hacker News Reader
Parent
Full thread
Someone1234
·
An exception, a 32 bit integer, underflows, or overflows.
View on HN
Locke1689
·
That's a problem with addition, period, not type promotion. Adding a 64-bit and 32-bit integer and promoting the 32-bit integer to 64-bit doesn't produce any problems that you won't have adding two 32-bit integers together or two 64-bit integers.
Reply on news.ycombinator.com