Difference between revisions of "Template:Data types"
(Protocol) |
imported>Uzume (/doc) |
||
| (38 intermediate revisions by 25 users not shown) | |||
| Line 2: | Line 2: | ||
| name = Data types | | name = Data types | ||
| title = [[Data type]]s | | title = [[Data type]]s | ||
| + | | state = {{{state|autocollapse}}} | ||
| bodyclass = hlist | | bodyclass = hlist | ||
| − | | group1 = Uninterpreted | + | | group1 = [[Units of information|Uninterpreted]] |
| list1 = | | list1 = | ||
*[[Bit]] | *[[Bit]] | ||
| Line 11: | Line 12: | ||
*[[Ternary numeral system#Tryte|Tryte]] | *[[Ternary numeral system#Tryte|Tryte]] | ||
*[[Word (computer architecture)|Word]] | *[[Word (computer architecture)|Word]] | ||
| + | *[[Bit array]] | ||
| group2 = Numeric | | group2 = Numeric | ||
| list2 = | | list2 = | ||
| + | *[[Arbitrary-precision arithmetic|Arbitrary-precision or bignum]] | ||
| + | *[[complex data type|Complex]] | ||
| + | *[[Decimal data type|Decimal]] | ||
| + | *[[Fixed-point arithmetic|Fixed point]] | ||
| + | *[[Floating-point arithmetic|Floating point]] | ||
| + | **[[Double-precision floating-point format|Double precision]] | ||
| + | **[[Extended precision]] | ||
| + | **[[Long double]] | ||
| + | **[[Octuple-precision floating-point format|Octuple precision]] | ||
| + | **[[Quadruple-precision floating-point format|Quadruple precision]] | ||
| + | **[[Single-precision floating-point format|Single precision]] | ||
| + | **Reduced precision | ||
| + | ***[[Minifloat]] | ||
| + | ***[[Half-precision floating-point format|Half precision]] | ||
| + | ***[[bfloat16 floating-point format|bfloat16]] | ||
*[[integer (computer science)|Integer]] | *[[integer (computer science)|Integer]] | ||
**[[signedness]] | **[[signedness]] | ||
| − | *[[ | + | *[[Interval_arithmetic#Implementations|Interval]] |
| − | |||
*[[Rational data type|Rational]] | *[[Rational data type|Rational]] | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | group3 = [[ | + | | group3 = [[Pointer (computer programming)|Pointer]] |
| list3 = | | list3 = | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
*[[memory address|Address]] | *[[memory address|Address]] | ||
**[[physical address|physical]] | **[[physical address|physical]] | ||
**[[virtual address space|virtual]] | **[[virtual address space|virtual]] | ||
*[[reference (computer science)|Reference]] | *[[reference (computer science)|Reference]] | ||
| + | |||
| + | | group4 = [[plain text|Text]] | ||
| + | | list4 = | ||
| + | *[[Character (computing)|Character]] | ||
| + | *[[string (computer science)|String]] | ||
| + | **[[Null-terminated string|null-terminated]] | ||
| group5 = [[Composite data type|Composite]] | | group5 = [[Composite data type|Composite]] | ||
| Line 44: | Line 56: | ||
*[[Associative array]] | *[[Associative array]] | ||
*[[class (computer programming)|Class]] | *[[class (computer programming)|Class]] | ||
| − | *[[ | + | *[[Dependent type|Dependent]] |
| + | *[[Intuitionistic type theory#Equality type|Equality]] | ||
| + | *[[Inductive type|Inductive]] | ||
| + | *[[Intersection type|Intersection]] | ||
| + | *[[List (abstract data type)|List]] | ||
*[[object (computer science)|Object]] | *[[object (computer science)|Object]] | ||
| + | **[[metaobject]] | ||
*[[Option type]] | *[[Option type]] | ||
*[[Product type|Product]]<!--since we have both union and tagged union listed here--> | *[[Product type|Product]]<!--since we have both union and tagged union listed here--> | ||
| − | *[[ | + | *[[Record (computer science)|Record or Struct]] |
| − | *[[ | + | *[[Refinement type|Refinement]] |
| − | *[[Union | + | *[[Set (abstract data type)|Set]] |
| + | *[[Union type|Union]] | ||
**[[Tagged union|tagged]] | **[[Tagged union|tagged]] | ||
| Line 57: | Line 75: | ||
*[[Boolean data type|Boolean]] | *[[Boolean data type|Boolean]] | ||
*[[Bottom type]] | *[[Bottom type]] | ||
| − | *[[ | + | *[[Container (abstract data type)|Collection]] |
*[[Enumerated type]] | *[[Enumerated type]] | ||
*[[exception handling|Exception]] | *[[exception handling|Exception]] | ||
| Line 70: | Line 88: | ||
*[[void type|Void]] | *[[void type|Void]] | ||
| − | | group7 = Related topics | + | | group7 = Related<br />topics |
| list7 = | | list7 = | ||
*[[Abstract data type]] | *[[Abstract data type]] | ||
*[[Data structure]] | *[[Data structure]] | ||
| + | *[[Generic programming|Generic]] | ||
| + | *[[Kind (type theory)|Kind]] | ||
| + | **[[metaclass]]<!-- These last two should be listed under "composite" somehow, but that would need two rows there, one for concepts, and one for instances of composite types, YMMV --> | ||
| + | *[[Object type (object-oriented programming)|Object type]] | ||
| + | *[[Parametric polymorphism]] | ||
| + | *[[Primitive data type]] | ||
*[[Protocol (object-oriented programming)|Protocol]] | *[[Protocol (object-oriented programming)|Protocol]] | ||
| − | **[[Interface (computing)#Software interfaces in object-oriented languages| | + | **[[Interface (computing)#Software interfaces in object-oriented languages|interface]] |
| − | *[[ | + | *[[Subtyping]] |
| − | |||
| − | |||
| − | |||
*[[Type constructor]] | *[[Type constructor]] | ||
*[[Type conversion]] | *[[Type conversion]] | ||
| − | *[[ | + | *[[Type system]] |
| − | + | *[[Type theory]] | |
| − | + | *[[Variable (computer science)|Variable]] | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | *[[ | ||
| − | *[[ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | }}<noinclude>{{Documentation}}</noinclude> | |
Latest revision as of 16:59, 28 May 2020
This template generates a navigation box for data types.
Usage
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Data types|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Data types|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Data types|state=autocollapse}}
If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.
Examples
Some of many special data types are listed below. These are best accessed through the parent articles, e.g., double precision from floating point, etc. Please do not add them to the template without good reason. Use Category:Data types instead.
Specific representations of the abstract integer type:
Already covered by {{Floating-point}}: Specific representations of the abstract floating-point number or numeric type:
Specific representations of the abstract "character" type:
Specific representations of the abstract "pointer" type:
Specific representations of the abstract executable "subroutine"/"function"/"procedure" type:
These are mathematical concepts, not NOT data types:
- complex number
- rational number
- interval (mathematics)
- matrix (mathematics)
- vector (mathematics)
- tuple
These are data STRUCTURES, NOT data TYPES:
See also
- {{Floating-point}}
- {{Information units}}, platform-dependent and independent units of information
| The above documentation is transcluded from Template:Data types/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |