Professional Documents
Culture Documents
Awesome post. I like how you pointed out that Overflow can result
from the “result of adding two numbers <that will> be too long,” thus
taking “much space to be fit and the allotted space will not be enough.”
“The condition of overflow will arise because it will go beyond the
range.”
I especially like how you highlighted that when adding two unsigned
numbers, “the carry will be come out from the leftmost digit and it
causes overflow condition in the context of unsigned numbers.”
That is how I summed up overflow—meaning: overflow is a situation
that occurs when the result of an arithmetic operation exceeds the
maximum or minimum value that can be represented by the data type
used to store the value. (i.e., when the magnitude of a number
exceeds the range allowed by the size of the bit field).