A term for representing all possible values ​​of a variable

Is there a term for representing the set of all possible values ​​that a variable can take?

Analogy:
In mathematics, the domain of a function is a set of values, a function is defined on (a function can take as an argument).

Examples:

  • A variable of type UInt16 can contain values ​​in the range [0-65536].
  • The termination state (represented by a double value) may contain a value in the range [0-100].
  • Gender (represented by Enum) may contain one of {Male, Female}.

Q:
What does the term mean to describe all the possible values ​​that a variable can (contextually) suggest?

Basically, you need a short version of the "set of values ​​for a variable". I used the term type to describe this range, but Type often includes other bits of information (e.g. name, operations, module).

+5
source share
11 answers

I also heard the “meaning of space” as a term for this.

+3
source
  • value
  • domain
  • range of values
+9
source

"" " ".

+3

.

+3

, "" ...

[EDIT] , "".

+1

, ( ), range .

0

- , " ..."; " :..." ..

0

(, int -2147,483,648 2,147,483,647).

, , , (, struct, class, interface) , .

.

, , .

0

. "" , "unsigned int" . , python, , .

0

, . , !

0

, .

, domain .

Range . , , . , .

.

0

All Articles