Search the forum,

overflow

In computer programming, an integer overflow occurs when an arithmetic operation attempts to create a numeric value that is outside of the range that can be represented with a given number of digits – either higher than the maximum or lower than the minimum representable value.
The most common result of an overflow is that the least significant representable digits of the result are stored; the result is said to wrap around the maximum (i.e. modulo a power of the radix, usually two in modern computers, but sometimes ten or another radix).
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 security.
For some applications, such as timers and clocks, wrapping on overflow can be desirable. The C11 standard states that for unsigned integers modulo wrapping is the defined behavior and the term overflow never applies: "a computation involving unsigned operands can never overflow."On some processors like graphics processing units (GPUs) and digital signal processors (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.

View More On Wikipedia.org
  • 439

    Dan

    Administrator From On the forum.
    • Messages
      2,782
    • Directory
      6
    • Video
      98
    • Reaction score
      1,222
    • Points
      113
  • 2

    mutley racers

    • Messages
      5,172
    • Video
      184
    • Reaction score
      812
    • Points
      113
  • 1

    Badger10

    • Messages
      24
    • Video
      7
    • Reaction score
      1
    • Points
      3
  • 1

    melmos

    • Messages
      111
    • Reaction score
      11
    • Points
      18
  • 1

    olbasoil

    • Messages
      12
    • Reaction score
      3
    • Points
      1
  • 1

    SimonG

    • Messages
      21,055
    • Directory
      1
    • Video
      329
    • Reaction score
      13,066
    • Points
      113
  • 1

    Deleted member 12282

    • Messages
      2
    • Reaction score
      0
    • Points
      1
  • 1

    HoodedClaw

    Plumbers Arms member From Winchester
    • Messages
      247
    • Reaction score
      9
    • Points
      18
  • 1

    quality

    Plumbers Arms member From South Yorkshire
    • Messages
      4,294
    • Video
      47
    • Reaction score
      1,138
    • Points
      113
  • 1

    @TonyC

    • Messages
      48
    • Reaction score
      4
    • Points
      8
  • 1

    Simone

    • Messages
      19
    • Video
      1
    • Reaction score
      4
    • Points
      3
  • 1

    jsm

    • Messages
      25
    • Video
      6
    • Reaction score
      2
    • Points
      3
  • 1

    WHPES

    Plumbers Arms member From North Yorkshire
    • Messages
      4,835
    • Video
      7
    • Reaction score
      590
    • Points
      113
  • 1

    footprint

    • Messages
      18
    • Video
      1
    • Reaction score
      1
    • Points
      3
  • 1

    Dannypipe

    • Messages
      5,746
    • Video
      90
    • Reaction score
      1,828
    • Points
      113
  • 1

    Paul Cockhill

    From bath
    • Messages
      293
    • Video
      29
    • Reaction score
      9
    • Points
      18
  • 1

    The Plumber Guy

    • Messages
      73
    • Reaction score
      1
    • Points
      8
  • 1

    Scott_D

    From BRISTOL
    • Messages
      6,131
    • Video
      270
    • Reaction score
      2,736
    • Points
      113
  • 1

    Jennie

    • Messages
      283
    • Video
      28
    • Reaction score
      45
    • Points
      28
  • 1

    Eyespy999

    Plumbers Arms member From Near the sea
    • Messages
      148
    • Video
      12
    • Reaction score
      3
    • Points
      18
  • Creating content since 2001. Untold Media.

    Newest Plumbing Threads

    Back
    Top
    AdBlock Detected

    We get it, advertisements are annoying!

    Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

    I've Disabled AdBlock