|
|
|
|
|
by anyfoo
1551 days ago
|
|
I'm reasonably certain you'd more commonly say that the range is doubled. When we say "size", we usually mean the "width" of the variable, as e.g. demonstrated by the "sizeof()" operator in C, which gives the size/width in bytes[1]. [1] Actually multiple of sizeof(char), where sizeof(char) is defined as 1. And that's technically not 1 byte everywhere, but most of the time nowadays it is. |
|
Telling someone who doesn't know what widening a variable means that they meant widening a variable without explaining what widening a variable means helps no one.
(Plus adding 1 bit to the "bit size" of a variable _does_ double the base 10 size of the variable if you want to be really pedantic)