|
4706 | 4706 |
|
4707 | 4707 | \pnum
|
4708 | 4708 | \indextext{type!implementation-defined \tcode{sizeof}}%
|
4709 |
| -\indextext{type!standard signed integer}% |
4710 |
| -There are five \defnx{standard signed integer types}{standard signed integer type}: |
| 4709 | +There are five \defnadjx{standard signed integer}{types}{type}: |
4711 | 4710 | \indextext{type!\idxcode{signed char}}%
|
4712 | 4711 | \indextext{type!\idxcode{short}}%
|
4713 | 4712 | \indextext{type!\idxcode{int}}%
|
|
4717 | 4716 | ``\tcode{\keyword{long} \keyword{int}}'', and ``\tcode{\keyword{long} \keyword{long} \keyword{int}}''. In
|
4718 | 4717 | this list, each type provides at least as much storage as those
|
4719 | 4718 | preceding it in the list.
|
4720 |
| -\indextext{type!extended signed integer}% |
4721 |
| -\indextext{type!signed integer}% |
4722 | 4719 | There may also be \impldef{extended signed integer types}
|
4723 |
| -\defnx{extended signed integer types}{extended signed integer type}. |
| 4720 | +\defnadjx{extended signed integer}{types}{type}. |
4724 | 4721 | The standard and extended signed integer types are collectively called
|
4725 |
| -\defnx{signed integer types}{signed integer type}. |
| 4722 | +\defnadjx{signed integer}{types}{type}. |
4726 | 4723 | The range of representable values for a signed integer type is
|
4727 | 4724 | $-2^{N-1}$ to $2^{N-1}-1$ (inclusive),
|
4728 | 4725 | where \placeholder{N} is called the \defn{width} of the type.
|
|
4735 | 4732 |
|
4736 | 4733 | \pnum
|
4737 | 4734 | \indextext{type!\idxcode{unsigned}}%
|
4738 |
| -\indextext{type!unsigned integer}% |
4739 | 4735 | For each of the standard signed integer types,
|
4740 | 4736 | there exists a corresponding (but different)
|
4741 |
| -\indextext{type!standard unsigned integer}% |
4742 |
| -\defn{standard unsigned integer type}: |
| 4737 | +\defnadj{standard unsigned integer}{type}: |
4743 | 4738 | \indextext{type!\idxcode{unsigned char}}%
|
4744 | 4739 | \indextext{type!\idxcode{unsigned short}}%
|
4745 | 4740 | \indextext{type!\idxcode{unsigned int}}%
|
|
4748 | 4743 | ``\tcode{\keyword{unsigned} \keyword{char}}'', ``\tcode{\keyword{unsigned} \keyword{short} \keyword{int}}'',
|
4749 | 4744 | ``\tcode{\keyword{unsigned} \keyword{int}}'', ``\tcode{\keyword{unsigned} \keyword{long} \keyword{int}}'', and
|
4750 | 4745 | ``\tcode{\keyword{unsigned} \keyword{long} \keyword{long} \keyword{int}}''.
|
4751 |
| -\indextext{type!extended unsigned integer}% |
4752 | 4746 | Likewise, for each of the extended signed integer types,
|
4753 |
| -there exists a corresponding \defn{extended unsigned integer type}. |
| 4747 | +there exists a corresponding \defnadj{extended unsigned integer}{type}. |
4754 | 4748 | The standard and extended unsigned integer types
|
4755 |
| -are collectively called \defnx{unsigned integer types}{unsigned integer type}. |
| 4749 | +are collectively called \defnadjx{unsigned integer}{types}{type}. |
4756 | 4750 | An unsigned integer type has the same width \placeholder{N}
|
4757 | 4751 | as the corresponding signed integer type.
|
4758 | 4752 | \indextext{arithmetic!\idxcode{unsigned}}%
|
|
4823 | 4817 | The base-2 representation of a value of signed integer type is
|
4824 | 4818 | the base-2 representation of the congruent value
|
4825 | 4819 | of the corresponding unsigned integer type.
|
4826 |
| -\indextext{type!standard integer}% |
4827 |
| -\indextext{type!extended integer}% |
4828 | 4820 | The standard signed integer types and standard unsigned integer types
|
4829 |
| -are collectively called the \defnx{standard integer types}{standard integer type}, and the extended |
| 4821 | +are collectively called the \defnadjx{standard integer}{types}{type}, and the extended |
4830 | 4822 | signed integer types and extended
|
4831 | 4823 | unsigned integer types are collectively called the
|
4832 |
| -\defnx{extended integer types}{extended integer type}. |
| 4824 | +\defnadjx{extended integer}{types}{type}. |
4833 | 4825 |
|
4834 | 4826 | \pnum
|
4835 | 4827 | A fundamental type specified to have
|
|
4843 | 4835 | \pnum
|
4844 | 4836 | \indextext{type!\idxcode{char}}%
|
4845 | 4837 | \indextext{type!character}%
|
4846 |
| -\indextext{type!ordinary character}% |
4847 |
| -\indextext{type!narrow character}% |
4848 | 4838 | \indextext{\idxcode{char}!implementation-defined sign of}%
|
4849 | 4839 | \indextext{type!\idxcode{signed char}}%
|
4850 | 4840 | \indextext{character!\idxcode{signed}}%
|
|
4856 | 4846 | for all members of the implementation's basic character set.
|
4857 | 4847 | The three types \keyword{char}, \tcode{\keyword{signed} \keyword{char}}, and \tcode{\keyword{unsigned} \keyword{char}}
|
4858 | 4848 | are collectively called
|
4859 |
| -\defnx{ordinary character types}{type!ordinary character}. |
| 4849 | +\defnadjx{ordinary character}{types}{type}. |
4860 | 4850 | The ordinary character types and \keyword{char8_t}
|
4861 |
| -are collectively called \defnx{narrow character types}{narrow character type}. |
| 4851 | +are collectively called \defnadjx{narrow character}{types}{type}. |
4862 | 4852 | For narrow character types,
|
4863 | 4853 | each possible bit pattern of the object representation represents
|
4864 | 4854 | a distinct value.
|
|
0 commit comments