Content deleted Content added
m clean up using AWB |
range of variable is all possible values not just min and max |
||
Line 1:
{{Unreferenced|date=December 2006}}
In [[computer science]], the term '''range''' may refer to one of two things:
# The
# The upper and lower bounds of an [[array]].
==Range of a variable==
▲the range of a [[signedness|signed]] [[16-bit]] [[Integer (computer science)|integer]] variable is -32,768 to +32,767. In the case of an integer, the variable definition is restricted to whole numbers only, and the range will cover every number within its range (including the maximum and minimum). However, for other numeric types, such as [[floating point]] numbers, the range only expresses the largest and smallest number that may be stored - within the range there will be many numbers that cannot be represented.
==Range of an array==
|