<<< Data representation | Index | Two's complement representation >>> |
In math we assume arbitrary precision:
to represent a bigger number, just add more digits
Integers in memory have a fixed size
commonly 32 or 64 bits
based on register size of the architecture
This is significant for two reasons:
risk of overflow
representation of negative numbers
<<< Data representation | Index | Two's complement representation >>> |