<<< Sign extension | Index | Endianness >>> |
If result is out of representable range, its an error
Two kinds of errors:
overflow -- the number is too large to be represented
underflow -- the number is tooo small
When adding:
two numbers with different signs
overflow can never occur!
two numbers with the same sign
overflow occurs if the sign changes
<<< Sign extension | Index | Endianness >>> |