The result from an arithmetic calculation that exceeds the space designated to hold it.
Download Computer Desktop Encyclopedia to your iPhone/iTouch
| Computer Desktop Encyclopedia: arithmetic overflow |
The result from an arithmetic calculation that exceeds the space designated to hold it.
Download Computer Desktop Encyclopedia to your iPhone/iTouch
| 5min Related Video: Arithmetic overflow |
| Wikipedia: Arithmetic overflow |
The term arithmetic overflow or simply overflow has the following meanings.
Most computers distinguish between two kinds of overflow conditions. A carry occurs when the result of an addition or subtraction, considering the operands and result as unsigned numbers, does not fit in the result. Therefore, it is useful to check the carry flag after adding or subtracting numbers that are interpreted as unsigned values. An overflow proper occurs when the result does not have the sign that one would predict from the signs of the operands (e.g. a negative result when adding two positive numbers). Therefore, it is useful to check the overflow flag after adding or subtracting numbers that are represented in two's complement form (i.e. they are considered signed numbers).
There are several methods of handling overflow:
Division by zero is not a form of arithmetic overflow. Mathematically, division by zero within reals is explicitly undefined; it is not that the value is too large but rather that it has no value.
An unhandled arithmetic overflow was the primary cause of the crash of Ariane 5 Flight 501.
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
| internal interrupt (technology) | |
| carry flag (computer science) | |
| HAKMEM (computer jargon) |
| Who uses arithmetic? Read answer... | |
| What is arithmetic progession? Read answer... | |
| Who invented arithmetic? Read answer... |
| Where is the overflow? | |
| What is consumer arithmetic? | |
| WHO FOUND Arithmetics? |
Copyrights:
![]() | Computer Desktop Encyclopedia. THIS COPYRIGHTED DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher. © 1981-2009 Computer Language Company Inc. All rights reserved. Read more | |
![]() | Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Arithmetic overflow". Read more |
Mentioned in