This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 114a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-04-18


1797. Are all bit patterns of unsigned char distinct numbers?

Section: 6.8.2  [basic.fundamental]     Status: CD4     Submitter: Tony van Eerd     Date: 2013-10-02

[Moved to DR at the November, 2014 meeting.]

According to 6.8.2 [basic.fundamental] paragraph 1,

For unsigned narrow character types, all possible bit patterns of the value representation represent numbers.

Presumably the intent is that each distinct bit pattern represents a different number, but this should be made explicit.

Proposed resolution (February, 2014):

Change 6.8.2 [basic.fundamental] paragraph 1 as follows:

...For unsigned narrow character types, all each possible bit patterns pattern of the value representation represent numbers represents a distinct number. These requirements...