Daniel Lemire personal blog

How expensive is integer-overflow trapping in C++?

Integers in programming languages have a valid range but arithmetic operations can result in values that exceed such ranges. For example, adding two large integers can result in an integer that cannot be represented in the integer type. We often refer to such error conditions as overflows. In a programming languages…
Points
103
HN comments
192
Submissions
1
Cited by
0 commenters

Software EngineeringSystems & Performance2020

On Hacker News

SubmittedTitle on HNPointsComments
Sep 24, 2020How expensive is integer-overflow trapping in C++? by ingve103192

More from Daniel Lemire

All 87 posts →

Related posts from the same era