From 190b98446d053ddc31b56c875774d16938f9c15e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20K=C3=B6ppe?= Date: Thu, 13 Feb 2020 10:43:38 +0100 Subject: [PATCH 1/2] [conv.rank] Change "size" to "width" in conversion rank relation The rules about integer range limits imply (in a roundabout fashion) that increasing rank implies increasing width, so this is a clarification that makes this implication explicit. --- source/basic.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/basic.tex b/source/basic.tex index 5faf08deb5..1539ca4aa5 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -5199,7 +5199,7 @@ the same representation. \item The rank of a signed integer type shall be greater than the rank -of any signed integer type with a smaller size. +of any signed integer type with a smaller width. \item The rank of \tcode{long long int} shall be greater than the rank of \tcode{long int}, which shall be greater than From 951997846b80f5d86faf7a6c0b6146df3f65f5fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20K=C3=B6ppe?= Date: Thu, 13 Feb 2020 17:48:37 +0100 Subject: [PATCH 2/2] FIXUP: Change further "size"s to "width". --- source/basic.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/basic.tex b/source/basic.tex index 1539ca4aa5..e7e9d2d53c 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -4651,7 +4651,7 @@ \indextext{integral type!implementation-defined \tcode{sizeof}}% \begin{note} Plain \tcode{int}s are intended to have -the natural size suggested by the architecture of the execution environment; +the natural width suggested by the architecture of the execution environment; the other signed integer types are provided to meet special needs. \end{note} @@ -5211,7 +5211,7 @@ corresponding signed integer type. \item The rank of any standard integer type shall be greater than the -rank of any extended integer type with the same size. +rank of any extended integer type with the same width. \item The rank of \tcode{char} shall equal the rank of \tcode{signed char} and \tcode{unsigned char}. @@ -5228,7 +5228,7 @@ types\iref{basic.fundamental}. \item The rank of any extended signed integer type relative to another -extended signed integer type with the same size is \impldef{rank of extended signed +extended signed integer type with the same width is \impldef{rank of extended signed integer type}, but still subject to the other rules for determining the integer conversion rank.