next up previous contents
Next: Note. Up: Reprentation of Signed Integers Previous: Reprentation of Signed Integers   Contents

Integers in Memory

One byte of memory can store different numbers. They can be positive integers between and .

For most applications, one byte integers are too small. Standard data types usually reserve 2, 4 or 8 successive bytes for each integer. In general, using bytes () we can represent integers in the range

Unsigned integers: 0
Signed integers:  

25<25 SetFigFontpt@pt xxxxxxsplain








Adrian Sandu 2001-08-26