Search the forum,

overflowing

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
  • 102

    Dan

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

    Fireblade9

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

    armyash

    From Kent
    • Messages
      2,653
    • Video
      188
    • Reaction score
      699
    • Points
      113
  • 1

    Neil23

    68 From surrey
    • Messages
      27
    • Reaction score
      1
    • Points
      3
  • 1

    Alex Needs Help!

    From Erith
    • Messages
      4
    • Reaction score
      0
    • Points
      1
  • 1

    jnthn

    • Messages
      3
    • Reaction score
      0
    • Points
      1
  • 1

    GGg

    • Messages
      45
    • Video
      9
    • Reaction score
      5
    • Points
      8
  • 1

    Nelder

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

    katec

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

    Blackrock63

    • Messages
      3
    • Reaction score
      0
    • Points
      1
  • 1

    Pipeandthings

    From Bristol
    • Messages
      8
    • Reaction score
      2
    • Points
      3
  • 1

    bobgar

    From london
    • Messages
      6
    • Reaction score
      2
    • Points
      3
  • 1

    TicTax

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

    Morrispd

    • Messages
      9
    • Video
      5
    • Reaction score
      0
    • Points
      1
  • 1

    acsmith1986

    37 From Hampshire
    • Messages
      12
    • Video
      4
    • Reaction score
      1
    • Points
      3
  • 1

    Slippery

    54 From Uk
    • Messages
      23
    • Reaction score
      4
    • Points
      3
  • 1

    Jennie

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

    GeneralSoulfly

    39 From Ipswich
    • Messages
      6
    • Reaction score
      0
    • Points
      1
  • 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