Content deleted Content added
No edit summary |
Coolclawcat (talk | contribs) m Fixed wikilink: "C11 standard" should link to the dedicated article about it, instead of a section in the C article summarizing it |
||
Line 10:
An overflow condition may give results leading to unintended behavior. In particular, if the possibility has not been anticipated, overflow can compromise a program's reliability and [[software security|security]].
For some applications, such as timers and clocks, wrapping on overflow can be desirable. The [[
On some processors like [[graphics processing unit]]s (GPUs) and [[digital signal processor]]s (DSPs) which support [[saturation arithmetic]], overflowed results would be "clamped", i.e. set to the minimum or the maximum value in the representable range, rather than wrapped around.
|