Difference between revisions of "Template:Data types"
imported>Funandtrvl (fx) |
imported>Uzume (/doc) |
||
| (32 intermediate revisions by 22 users not shown) | |||
| Line 5: | Line 5: | ||
| bodyclass = hlist | | bodyclass = hlist | ||
| − | | group1 = Uninterpreted | + | | group1 = [[Units of information|Uninterpreted]] |
| list1 = | | list1 = | ||
*[[Bit]] | *[[Bit]] | ||
| Line 12: | 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 arithmetic|Arbitrary-precision or bignum]] |
*[[complex data type|Complex]] | *[[complex data type|Complex]] | ||
*[[Decimal data type|Decimal]] | *[[Decimal data type|Decimal]] | ||
| − | *[[Fixed-point arithmetic|Fixed-point]] | + | *[[Fixed-point arithmetic|Fixed point]] |
| − | *[[floating 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 45: | 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]] | *[[List (abstract data type)|List]] | ||
*[[object (computer science)|Object]] | *[[object (computer science)|Object]] | ||
| Line 50: | Line 65: | ||
*[[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]] | ||
*[[Set (abstract data type)|Set]] | *[[Set (abstract data type)|Set]] | ||
*[[Union type|Union]] | *[[Union type|Union]] | ||
| Line 72: | Line 88: | ||
*[[void type|Void]] | *[[void type|Void]] | ||
| − | | group7 = Related topics | + | | group7 = Related<br />topics |
| list7 = | | list7 = | ||
*[[Abstract data type]] | *[[Abstract data type]] | ||
| Line 79: | Line 95: | ||
*[[Kind (type theory)|Kind]] | *[[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 --> | **[[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]] | *[[Parametric polymorphism]] | ||
*[[Primitive data type]] | *[[Primitive data type]] | ||
| Line 87: | Line 104: | ||
*[[Type conversion]] | *[[Type conversion]] | ||
*[[Type system]] | *[[Type system]] | ||
| + | *[[Type theory]] | ||
| + | *[[Variable (computer science)|Variable]] | ||
| − | }}<noinclude> | + | }}<noinclude>{{Documentation}}</noinclude> |
| − | {{ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </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. |