Slide 3.7: Signed integers (cont.) Slide 3.9: Character storage Home |
Storage Type | Maximum Values | Minimum Values |
---|---|---|
Signed byte | (01111111)2 = 27 – 1 = (127)10 | (10000000)2 = -27 = (-128)10 |
Signed word | (0111111111111111)2 = 215 – 1 = (32,767)10 |
(1000000000000000)2 = -215 = (-32,768)10 |